EVENT TYPE PLAYER COMMAND ADDED

From Dragon Age Toolset Wiki
Jump to: navigation, search

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:

Usage

case EVENT_TYPE_PLAYER_COMMAND_ADDED:
{
int nCommandId = GetEventInteger(ev, 0); // [Undocumented]
object oCreator = GetEventObject(ev, 0); // [Undocumented]

// insert event-handling code here

break;
}