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
m |
m |
||
Line 4: | Line 4: | ||
| 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). | | 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). | ||
| param1 = Name | | param1 = Name | ||
- | | param1desc = String; Name of the Unit as entered when unit was created | + | | param1desc = String; Name of the Unit as entered when unit was created in an Event or Scenario Setup |
- | + | ||
- | + | ||
| param2 = [;CondSkip] | | param2 = [;CondSkip] | ||
| param2desc = Optional: skip selection if a unit is already selected | | param2desc = Optional: skip selection if a unit is already selected |
Latest revision as of 13:26, 13 October 2011
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
String; Name of the Unit as entered when unit was created in an Event or Scenario Setup
Optional: skip selection if a unit is already selected
Optional: Only select unit if unfixed (unlocked)
Optional: Only select unit if fixed (locked)
Optional: Only select unit if it belongs to the currently selected Faction |