Difference between revisions of "EVENT TYPE AMBIENT CONTINUE"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (|sourcefile=events_h) |
KigenBarzhad (Talk | contribs) |
||
Line 13: | Line 13: | ||
[[Category:Ambient behavior]] | [[Category:Ambient behavior]] | ||
+ | [[Category:Event types|AMBIENT_CONTINUE]] | ||
+ | [[Category:Creature events|AMBIENT_CONTINUE]] |
Revision as of 05:20, 3 January 2010
- Source:
- events_h
- Sent when:
- conversation ends or player is nearby to resume ambient behaviour
- Sent from:
- engine
- Sent to:
- creature
- Parameters:
-
- Object 0: Instigator.
Usage
case EVENT_TYPE_AMBIENT_CONTINUE:
{
object oInstigator = GetEventObject(ev, 0); // Instigator.
// insert event-handling code here
break;
}
{
object oInstigator = GetEventObject(ev, 0); // Instigator.
// insert event-handling code here
break;
}
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.