Difference between revisions of "EVENT TYPE REACHED WAYPOINT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split out of event)
 
m (remove redundant category)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*<b>Sent When:</b>
+
{{needs review}}
*<b>Sent From:</b>
+
{{event
*<b>Sent To:</b>
+
|sourcefile=script.ldf
 
+
|when=
Parameters:
+
|from=[[engine]]
 
+
|to=creatures
[[Category:Event types|REACHED_WAYPOINT]]
+
|tocategory1=creature
 +
|sortkey=REACHED_WAYPOINT
 +
|int0name=nCurrentTarget
 +
|int1name=nLocationCount
 +
|creatorname=oCreature
 +
}}

Latest revision as of 00:44, 12 February 2010

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 from:
engine
Sent to:
creatures
Parameters:

Usage

case EVENT_TYPE_REACHED_WAYPOINT:
{
object oCreature = GetEventCreator(ev); //
int nCurrentTarget = GetEventInteger(ev, 0); //
int nLocationCount = GetEventInteger(ev, 1); //

// insert event-handling code here

break;
}