Difference between revisions of "UT TeamAppears"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (Updating links)
m
 
Line 8: Line 8:
 
|param2type    = int
 
|param2type    = int
 
|param2name    = bAppears
 
|param2name    = bAppears
|param2desc    = True or false
+
|param2desc    = TRUE or FALSE
 
|param2default = TRUE
 
|param2default = TRUE
 
|param3type    = int
 
|param3type    = int

Latest revision as of 19:35, 3 August 2011

Makes a team appear (they are activated).

void UT_TeamAppears(
int nTeamID,
int bAppears = TRUE,
int nMembersType = OBJECT_TYPE_CREATURE
);
Parameters:
nTeamID
This is the team ID number (stored in CREATURE_TEAM_ID)
bAppears
TRUE or FALSE
nMembersType
The type of members to retrieve (OBJECT_TYPE_CREATURE, OBJECT_TYPE_PLACEABLE)
Returns:

Nothing.

Source:

Core Game Resources.utility_h

Description

This sets SetObjectActive to TRUE for every member of the specified team. 0 is not a valid parameter (because that's the default value of the variable).