Difference between revisions of "EVENT TYPE REACHED WAYPOINT"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (split out of event) |
BryanDerksen (Talk | contribs) m (remove redundant category) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{needs review}} | |
− | + | {{event | |
− | + | |sourcefile=script.ldf | |
− | + | |when= | |
− | + | |from=[[engine]] | |
− | + | |to=creatures | |
− | [[ | + | |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:
-
- Creator: [Undocumented]
- Integer 0: [Undocumented]
- Integer 1: [Undocumented]
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;
}
{
object oCreature = GetEventCreator(ev); //
int nCurrentTarget = GetEventInteger(ev, 0); //
int nLocationCount = GetEventInteger(ev, 1); //
// insert event-handling code here
break;
}