UT GetTeam

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns an array of all team members in the area.

object[] UT_GetTeam(
int nTeamID,
int nMembersType = OBJECT_TYPE_CREATURE
);
Parameters:
nTeamID
This is the team ID number (stored in CREATURE_TEAM_ID)
nMembersType
The type of members to retrieve (OBJECT_TYPE_CREATURE, OBJECT_TYPE_PLACEABLE)
Returns:

an array of all team members in the area.

Source:

Core Game Resources.utility_h

Description

This function searches through all the creatures in the area and returns any creature that has its team set to nTeamID