Difference between revisions of "EVENT TYPE REACHED WAYPOINT"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (remove redundant category)
 
Line 11: Line 11:
 
|creatorname=oCreature
 
|creatorname=oCreature
 
}}
 
}}
[[Category:Event types|REACHED_WAYPOINT]]
 
[[Category:Creature events|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;
}