SetPlaceableState

From Dragon Age Toolset Wiki
Revision as of 18:03, 11 March 2012 by Sunjammer (Talk | contribs) (Fixing category)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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