GetClusterCenter

From Dragon Age Toolset Wiki
Revision as of 02:40, 29 July 2009 by Sunjammer (Talk | contribs) (Generated by Sunjammer's Dragon Age Script Paser)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page was generated by Sunjammer's Dragon Age Script Parser.

The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.

This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.

Please remove the {{Generated with errors}} tag once the page has been corrected.

This function return the center of a cluster of creatures

location GetClusterCenter(
object oCreator,
int nAbilityId,
int nClusterSize,
int nAllyFailChance,
int bReturnFirstMatch
);
Parameters:
oCreator
effect creator
nAbilityId
ability id
nClusterSize
min number of enemies needed
nAllyFailChance
A percentage chance to fail each possible cluster if any ally is inside the cluster. The chance is comulative per ally
bReturnFirstMatch
[Undocumented]
Returns:

[Undocumented]

Source:

script.ldf

Description

Returns the center of the best cluster of creatures based on input params