Difference between revisions of "SetPlaceableState"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(looks okay, adding link and removing tag)
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=SetPlaceableState
 
|name=SetPlaceableState
Line 18: Line 17:
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. -->
 
Sets the state for this placeable, but only if the state is a valid one
 
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 in override.
+
for the placeable itself as defined by the state controller. The placeable states are defined in the [[placeables.xls]] file.
  
 
<!-- == Remarks == -->
 
<!-- == Remarks == -->

Revision as of 21:57, 24 February 2010

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