Difference between revisions of "EVENT TYPE REACHED WAYPOINT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (|sourcefile=script.ldf)
m (remove redundant category)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|sourcefile=script.ldf
 
|sourcefile=script.ldf
 
|when=
 
|when=
|from=
+
|from=[[engine]]
|to=
+
|to=creatures
 +
|tocategory1=creature
 +
|sortkey=REACHED_WAYPOINT
 +
|int0name=nCurrentTarget
 +
|int1name=nLocationCount
 +
|creatorname=oCreature
 
}}
 
}}
 
[[Category:Event types|REACHED_WAYPOINT]]
 

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