SetPlaceableState

From Dragon Age Toolset Wiki
Revision as of 21:57, 24 February 2010 by BryanDerksen (Talk | contribs) (looks okay, adding link and removing tag)

Jump to: navigation, search

Sets the state for a specified placeable object.

void SetPlaceableState(
object oPlaceable,
int nState
);
Parameters:
oPlaceable
The placeable to set the state on
nState
The state to set on the placeable
Returns:

Nothing.

Source:

script.ldf

Description

Sets the state for this placeable, but only if the state is a valid one for the placeable itself as defined by the state controller. The placeable states are defined in the placeables.xls file.


See also

GetPlaceableState