Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

SelectSubUnits

From AACWWiki

Jump to: navigation, search

Syntax  

SelectSubUnits = Region <RgnUID>;Area <AreaUID>;Families <Fam1> <Fam2> ...;
                 Models <Mdl1> <Mdl2> ... ;FactionTags <Tag1> <Tag2> ... ;
                 Domains <_domLand> <_domNav> <_domAir>;<Attributes>

Description

This command selects a unit or set of units as defined by one or more of the parameters in the above semi-colon delimited list. The exact filtering is determined by which of the parameters are included and the values listed for the specific parameters.

Note: Though the list above has been spread over several lines for better display, the full list needs to be on the same line when applied in the gamaefiles.

Example  

SelectSubUnits = SelectSubUnits = Area $OMB_WestIndies;Models $mdl_CSA_Mer;OnlyNotFixed

will trigger if an unfixed unit containing the model $mdl_CSA_Mer exists in the $OMB_WestIndies Area

 

Parameters

Region <RgnUID>

The region

Area <AreaUID>

The area (a predefined collection of regions)

Families <Fam1> <Fam2>

A list of families (model types)

Models <Mdl1> <Mdl2>

A list of Models you wish to select

FactionTags <Tag1> <Tag2>

The faction or factions to which you wish to limit the selection

Domains <_domLand> <_domNav> <_domAir>

The domain (broad class of models, units or groups)

Filtering attributes

Any or all of the attributes will filter the selection list: OnlyFixed, OnlyNotFixed, Enemy, FriendOnly, FriendAndSelf, UniqueName <Name>

Personal tools
Categories
Forums