Difference between revisions of "EVENT TYPE BLOCKED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split ouf of event)
 
(formatting)
Line 1: Line 1:
*<b>Sent When:</b> 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.
+
{{event
*<b>Sent From:</b> engine
+
|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.
*<b>Sent To:</b> creatures
+
|from=engine
 +
|to=[[creature]]s
 +
|creatorname=oBlocker
 +
|creatordesc=blocking object
 +
}}
  
Parameters:
+
Also, this doesn't exist yet, but we'll need this event to fire for any time that the pathfinding failed.{{undocumented}}
*<b>Creator:</b> blocking object. Also, this doesn't exist yet, but we'll need this event to fire for any time that the pathfinding failed.
+
  
 
[[Category:Event types|BLOCKED]]
 
[[Category:Event types|BLOCKED]]

Revision as of 16:48, 24 July 2009

Source:
[Undocumented]
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;
}

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