Difference between revisions of "SetPlaceableState"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (looks okay, adding link and removing tag) |
m (Fixing category) |
||
| Line 13: | Line 13: | ||
|sourcemodule= | |sourcemodule= | ||
}} | }} | ||
| − | |||
== Description == | == Description == | ||
<!-- 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. |
| − | for the placeable itself as defined by the state controller. The placeable states are defined in the [[placeables.xls]] file. | + | |
| − | + | ||
<!-- == Remarks == --> | <!-- == Remarks == --> | ||
<!-- This section contains additional comments, observations and known issues. --> | <!-- This section contains additional comments, observations and known issues. --> | ||
| − | |||
<!-- == Examples == --> | <!-- == Examples == --> | ||
<!-- This section contains examples transcluded from the snippet library. --> | <!-- This section contains examples transcluded from the snippet library. --> | ||
| − | |||
== See also == | == See also == | ||
<!-- This section contains links to articles, functions or constant groups. --> | <!-- This section contains links to articles, functions or constant groups. --> | ||
[[GetPlaceableState]] | [[GetPlaceableState]] | ||
| − | [[Category: Placeable | + | |
| + | [[Category:Placeable functions]] | ||
Latest revision as of 17:03, 11 March 2012
Sets the state for a specified placeable object.
- 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.