Difference between revisions of "EVENT TYPE ON ORDER RECEIVED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{needs review}} {{event |sourcefile=script.ldf |when= |from= |to= }} ON_ORDER_RECEIVED')
 
m (Updating template)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{needs review}}
 
{{needs review}}
 
{{event
 
{{event
|sourcefile=script.ldf
+
|sourcefile   = script.ldf
|when=
+
|sourcemodule =
|from=
+
|sortkey      = ON_ORDER_RECEIVED
|to=
+
|when         = Sent by engine when henchman or player is given an order.
 +
|from         = [[engine]]
 +
|to           =
 +
|tocategory1  =
 +
|tocategory2  =
 +
|creatorname  = oSourceCreature
 +
|creatordesc  =
 +
|targetname  = oTargetObject
 +
|targetdesc  =  
 
}}
 
}}
  
[[Category:Event types|ON_ORDER_RECEIVED]]
+
== Remarks ==
 +
 
 +
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.