Difference between revisions of "EVENT TYPE ON ORDER RECEIVED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(information from GameActionPerfoprmer.cpp)
Line 5: Line 5:
 
|from= [[engine]]
 
|from= [[engine]]
 
|to=
 
|to=
 +
|creatorname=oSourceCreature
 +
|targetname=oTargetObject
 
}}
 
}}
  

Revision as of 19:50, 20 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:
script.ldf
Sent when:
Sent by engine when henchman or player is given an order.
Sent from:
engine
Sent to:
Parameters:

Usage

case EVENT_TYPE_ON_ORDER_RECEIVED:
{
object oSourceCreature = GetEventCreator(ev); //
object oTargetObject = GetEventTarget(ev); //

// insert event-handling code here

break;
}

Was in player_core but is commented out.