Difference between revisions of "EVENT TYPE AMBIENT CONTINUE"
From Dragon Age Toolset Wiki
KigenBarzhad (Talk | contribs) |
m (Adding Remarks heading) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{event | {{event | ||
− | |sourcefile=events_h | + | |sourcefile = events_h |
− | |when=conversation ends or player is nearby to resume ambient behaviour | + | |when = conversation ends or player is nearby to resume ambient behaviour |
− | |to=creature | + | |to = creature |
− | |tocategory1=creature | + | |tocategory1 = creature |
− | |sortkey=AMBIENT_CONTINUE | + | |sortkey = AMBIENT_CONTINUE |
− | |from=engine | + | |from = engine |
− | |object0name=oInstigator | + | |object0name = oInstigator |
− | |object0desc=Instigator | + | |object0desc = Instigator |
}} | }} | ||
+ | == Remarks == | ||
+ | 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. | ||
− | + | [[Category:Ambient behaviours]] | |
− | + | ||
− | [[Category:Ambient | + | |
− | + | ||
− | + |
Latest revision as of 00:32, 11 February 2013
- 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;
}
Remarks
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.