Difference between revisions of "EVENT TYPE TEAM DESTROYED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (|sourcefile=events_h) |
KigenBarzhad (Talk | contribs) |
||
Line 11: | Line 11: | ||
The event is fired to the last living creature on the team. | The event is fired to the last living creature on the team. | ||
+ | |||
+ | |||
+ | [[Category:Event types|TEAM_DESTROYED]] | ||
+ | [[Category:Area events|TEAM_DESTROYED]] |
Revision as of 04:14, 4 January 2010
- Source:
- events_h
- Sent when:
- Fires when an entire team of creatures is destroyed.
- Sent from:
- Sent to:
- Area the team is in
- Parameters:
-
- Integer 0: the team number that was destroyed.
Usage
case EVENT_TYPE_TEAM_DESTROYED:
{
int nTeam = GetEventInteger(ev, 0); // the team number that was destroyed.
// insert event-handling code here
break;
}
{
int nTeam = GetEventInteger(ev, 0); // the team number that was destroyed.
// insert event-handling code here
break;
}
The event is fired to the last living creature on the team.