EVENT TYPE BLOCKED

From Dragon Age Toolset Wiki
Revision as of 00:54, 12 February 2010 by BryanDerksen (Talk | contribs) (remove redundant category)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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 which cannot 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;
}

Also, this doesn't exist yet, but we'll need this event to fire for any time that the pathfinding failed.[Undocumented]