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

SelUnqUnit

From AGEWiki

Jump to: navigation, search

SelUnqUnit

Syntax  

SelUnqUnit = Name [;CondSkip][;OnlyUnfixed][;OnlyFixed] [;RestrictFac]

Description

Allow the selection of an unique unit on the map, from its name. Unless RestrictFac is used, all factions will be searched. If the unit is not found, then a sub-unit (element) with the same name will be searched (this allow finding a sub-unit which was embedded into another unit).



 

Parameters

Name

String; Name of the Unit as entered when unit was created in an Event or Scenario Setup

[;CondSkip]

Optional: skip selection if a unit is already selected

[;OnlyUnfixed]

Optional: Only select unit if unfixed (unlocked)

[;OnlyFixed]

Optional: Only select unit if fixed (locked)

[;RestrictFac]

Optional: Only select unit if it belongs to the currently selected Faction

Forums