EVENT TYPE PLAYER COMMAND ADDED
From Dragon Age Toolset Wiki
Revision as of 19:23, 20 August 2009 by BryanDerksen (Talk | contribs) (information from CObjectAI.cpp)
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:
- script.ldf
- Sent when:
- Sent by engine when player is given an order.
- Sent from:
- engine
- Sent to:
- Parameters:
-
- Integer 0: [Undocumented]
- Object 0: [Undocumented]
Usage
case EVENT_TYPE_PLAYER_COMMAND_ADDED:
{
int nCommandId = GetEventInteger(ev, 0); //
object oCreator = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}
{
int nCommandId = GetEventInteger(ev, 0); //
object oCreator = GetEventObject(ev, 0); //
// insert event-handling code here
break;
}