UT TeamExit

From Dragon Age Toolset Wiki
Revision as of 20:02, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = UT_TeamExit |brief = Makes a team go to the nearest exit (wp_gen_exit). |param1type = int |param1name = nTeam |param1desc = This is the team ID number (stor...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).