UT TeamExit

From Dragon Age Toolset Wiki
Jump to: navigation, search

Makes a team go to the nearest exit (wp_gen_exit).

void UT_TeamExit(
int nTeam,
int nRun = FALSE,
string sTagOverride = GENERIC_EXIT
);
Parameters:
nTeam
This is the team ID number (stored in CREATURE_TEAM_ID)
nRun
Set to TRUE if you want the team to run there
sTagOverride
Instead of "wp_gen_exit" they go to this destination.
Returns:

Nothing.

Source:

Core Resources.utility_h

Description

0 is not a valid parameter (because that's the default value of the variable).