UT TeamGoesHostile

From Dragon Age Toolset Wiki
Revision as of 19:52, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = UT_TeamGoesHostile |brief = Makes a team go hostile |param1type = int |param1name = nTeamID |param1desc = This is the team ID number (stored in CREATURE_TEAM...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Makes a team go hostile

void UT_TeamGoesHostile(
int nTeamID,
int bHostile = TRUE
);
Parameters:
nTeamID
This is the team ID number (stored in CREATURE_TEAM_ID)
bHostile
Default behavior is to turn the team to GROUP_HOSTILE. If this is set to FALSE, then instead the team will turn to GROUP_NEUTRAL.
Returns:

Nothing.

Source:

Core Resources.utility_h

Description

The specified team joins the hostile faction. 0 is not a valid parameter (because that's the default value of the variable).