SetControllable

From Dragon Age Toolset Wiki
Revision as of 18:43, 19 February 2010 by BryanDerksen (Talk | contribs) (fix up, remove tag)

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

Set if the creature can be controlled by the user when they are in the party.

void SetControllable(
object oFollower,
int nIsControllable
);
Parameters:
oFollower
The creature whose state is to be sert
nIsControllable
Whether to make the creature controllable
Returns:

Nothing.

Source:

script.ldf

Description

If the primary controlled creature is set to uncontrollable, the next follower in the party will be set as the primary controlled creature.