GetClusterCenter

From Dragon Age Toolset Wiki
Revision as of 19:46, 10 March 2012 by Sunjammer (Talk | contribs) (Correcting category)

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

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 cumulative per ally
bReturnFirstMatch
[Undocumented]
Returns:

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

Source:

script.ldf

Description

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