Difference between revisions of "EVENT TYPE ON ORDER RECEIVED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(information from GameActionPerfoprmer.cpp)
m (Updating template)
 
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|when= Sent by engine when henchman or player is given an order.
+
|sourcemodule =
|from= [[engine]]
+
|sortkey      = ON_ORDER_RECEIVED
|to=
+
|when         = Sent by engine when henchman or player is given an order.
|creatorname=oSourceCreature
+
|from         = [[engine]]
|targetname=oTargetObject
+
|to           =
 +
|tocategory1  =
 +
|tocategory2  =  
 +
|creatorname = oSourceCreature
 +
|creatordesc  =
 +
|targetname   = oTargetObject
 +
|targetdesc  =
 
}}
 
}}
  
Was in [[player_core]] but is commented out.
+
== Remarks ==
  
[[Category:Event types|ON_ORDER_RECEIVED]]
+
This event was in [[player_core]] but was commented out.

Latest revision as of 19:11, 21 August 2011

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;
}

Remarks

This event was in player_core but was commented out.