Difference between revisions of "EVENT TYPE AMBIENT CONTINUE"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(split out of event)
 
(formatting)
Line 1: Line 1:
*<b>Sent When:</b> conversation ends or player is nearby to resume ambient behaviour  
+
{{event
*<b>Sent From:</b> engine
+
|when=conversation ends or player is nearby to resume ambient behaviour  
*<b>Sent To:</b> creature
+
|to=creature
 
+
|from=engine
If the event was fired because the party is near a creature, the 'instigator' is the nearest party member. If the event was fired at the end of a conversation, the 'instigator' is the creature conversing.
+
|object0name=oInstigator
 
+
|object0desc=Instigator. If the event was fired because the party is near a creature, the 'instigator' is the nearest party member. If the event was fired at the end of a conversation, the 'instigator' is the creature conversing.
Parameters:
+
}}
*Object 0: Instigator
+
  
 
[[Category:Event types|AMBIENT_CONTINUE]]
 
[[Category:Event types|AMBIENT_CONTINUE]]

Revision as of 22:20, 23 July 2009

Source:
[Undocumented]
Sent when:
conversation ends or player is nearby to resume ambient behaviour
Sent from:
engine
Sent to:
creature
Parameters:
  • Object 0: Instigator. If the event was fired because the party is near a creature, the 'instigator' is the nearest party member. If the event was fired at the end of a conversation, the 'instigator' is the creature conversing.

Usage

case EVENT_TYPE_AMBIENT_CONTINUE:
{
object oInstigator = GetEventObject(ev, 0); // Instigator. If the event was fired because the party is near a creature, the 'instigator' is the nearest party member. If the event was fired at the end of a conversation, the 'instigator' is the creature conversing.

// insert event-handling code here

break;
}