SetFollowerState

From Dragon Age Toolset Wiki
Revision as of 01:52, 15 December 2009 by BryanDerksen (Talk | contribs) (Description: Formatting, and add another state mentioned at http://social.bioware.com/forum/1/topic/71/index/436440)

Jump to: navigation, search

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

The parser extracted and matched all the information required to the best of its ability however the parser relies on the source file, and especially a function's comments, to be correctly formatted. If the source file was not correctly formatted the information presented may be incomplete.

This page should be reviewed by a knowledgeable scripter as it may require updating. If an issue with the source file is identified it should be reported to BioWare.

Please remove the {{Generated}} tag once the page has been confirmed or corrected.

Set the state of the follower.

void SetFollowerState(
object oCreature,
int nState
);
Parameters:
oCreature
Party follower
nState
the state
Returns:

Nothing.

Source:

script.ldf

Description

Follower State can be:

  • FOLLOWER_STATE_ACTIVE - Add follower to party pool + active party
  • FOLLOWER_STATE_AVAILABLE - Add follower to party pool and remove from active party
  • FOLLOWER_STATE_INVALID - Remove follower from party pool and active party
  • FOLLOWER_STATE_UNAVAILABLE - Remove follower from active party and do not allow adding it to active party again
  • FOLLOWER_STATE_SUSPENDED - Remove follower from active party and store it for putting it back later into the party
  • FOLLOWER_STATE_LOCKED_ACTIVE - Add follower to active party and lock him active in the party picker.