UT TeamGoesHostile

From Dragon Age Toolset Wiki
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).