Difference between revisions of "EVENT TYPE TEAM DESTROYED"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m
(remove redundant categories)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*<b>Sent When:</b> Fires when an entire team of creatures is destroyed.  
+
{{event
*<b>Sent From:</b>
+
|sourcefile=events_h
*<b>Sent To:</b> Area the team is in
+
|when= Fires when an entire team of creatures is destroyed.  
 +
|from=
 +
|to= Area the team is in
 +
|tocategory1=area
 +
|sortkey=TEAM_DESTROYED
 +
|int0name=nTeam
 +
|int0desc= the team number that was destroyed.
 +
}}
  
 
The event is fired to the last living creature on the team.
 
The event is fired to the last living creature on the team.
 
Parameters:
 
 
*integer 0 is the team number that was destroyed.
 
 
[[Category:Event types|TEAM_DESTROYED]]
 

Latest revision as of 00:32, 12 February 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;
}

The event is fired to the last living creature on the team.