Difference between revisions of "EVENT TYPE TEAM DESTROYED"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (formatting) |
BryanDerksen (Talk | contribs) (update template) |
||
Line 3: | Line 3: | ||
|from= | |from= | ||
|to= Area the team is in | |to= Area the team is in | ||
+ | |tocategory1=area | ||
+ | |sortkey=TEAM_DESTROYED | ||
|int0name=nTeam | |int0name=nTeam | ||
|int0desc= the team number that was destroyed. | |int0desc= the team number that was destroyed. | ||
Line 8: | Line 10: | ||
The event is fired to the last living creature on the team. | The event is fired to the last living creature on the team. | ||
− | |||
− |
Revision as of 23:51, 6 August 2009
- Source:
- [Undocumented]
- 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.