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

SelUnqSubUnit

From AGEWiki

Revision as of 11:48, 25 April 2010 by Lodilefty (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SelUnqSubUnit

Syntax  

SelUnqSubUnit = Name [;Region RgnUID] [;Area AreaUID] [;CondSkip or NoSelGroup]

Description

This command sets the Unit Selector to the selected unit, so that following commands can operate on it, i.e. a particular unit of some kind, be it an ordinary unit, a general or a ship.

Example  

SelUnqSubUnit = Napoleon; Region $Paris

Select the unit containing Napoleon only if located in the Reagion $Paris


 

Parameters

Name

As defined in the Create Unit (as opposed to Model or Unit database)

[;Region RgnUID] or [;Area AreaUID]

Optional. One of these only, to restrict to the specified Region or Area. Valid Region or Area Alias

[;CondSkip or NoSelGroup]

Optional

CondSkip = don't select if a valid unit is already selected
NoSelGroup = select only if no valid group is already selected
Forums