Difference between revisions of "EVENT TYPE BLOCKED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (|sourcefile=script.ldf) |
BryanDerksen (Talk | contribs) (update template) |
||
Line 4: | Line 4: | ||
|from=engine | |from=engine | ||
|to=[[creature]]s | |to=[[creature]]s | ||
+ | |tocategory1=creature | ||
+ | |sortkey=BLOCKED | ||
|creatorname=oBlocker | |creatorname=oBlocker | ||
|creatordesc=blocking object | |creatordesc=blocking object | ||
Line 9: | Line 11: | ||
Also, this doesn't exist yet, but we'll need this event to fire for any time that the pathfinding failed.{{undocumented}} | Also, this doesn't exist yet, but we'll need this event to fire for any time that the pathfinding failed.{{undocumented}} | ||
− | |||
− |
Revision as of 16:49, 6 August 2009
- Source:
- script.ldf
- Sent when:
- The current creature's path has been blocked while moving by a creature or door. This event will NOT fire when blocked by placeables who can not change the walk mesh or terrain.
- Sent from:
- engine
- Sent to:
- creatures
- Parameters:
-
- Creator: blocking object
Usage
case EVENT_TYPE_BLOCKED:
{
object oBlocker = GetEventCreator(ev); // blocking object
// insert event-handling code here
break;
}
{
object oBlocker = GetEventCreator(ev); // blocking object
// insert event-handling code here
break;
}
Also, this doesn't exist yet, but we'll need this event to fire for any time that the pathfinding failed.[Undocumented]