Difference between revisions of "EVENT TYPE SET OBJECT ACTIVE"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (|sourcefile=events_h) |
BryanDerksen (Talk | contribs) |
||
Line 4: | Line 4: | ||
|when= Sent by script to change active state. Needed since CommandDoFunction was removed and we're using [[CommandDoEvent]] | |when= Sent by script to change active state. Needed since CommandDoFunction was removed and we're using [[CommandDoEvent]] | ||
|from= | |from= | ||
− | |to= | + | |to=placeables |
+ | |tocategory1=placeable | ||
+ | |sortkey=SET_OBJECT_ACTIVE | ||
+ | |int0name=bActive | ||
+ | |int0desc=State to set the object to | ||
}} | }} | ||
− | |||
− |
Revision as of 19:05, 19 August 2009
The documentation on this page is incomplete, obsolete, or otherwise in need of a thorough review. The current content may provide a good starting point for this, but do not rely on its accuracy when using it to design content.
- Source:
- events_h
- Sent when:
- Sent by script to change active state. Needed since CommandDoFunction was removed and we're using CommandDoEvent
- Sent from:
- Sent to:
- placeables
- Parameters:
-
- Integer 0: State to set the object to
Usage
case EVENT_TYPE_SET_OBJECT_ACTIVE:
{
int bActive = GetEventInteger(ev, 0); // State to set the object to
// insert event-handling code here
break;
}
{
int bActive = GetEventInteger(ev, 0); // State to set the object to
// insert event-handling code here
break;
}