User avatar
Pocus
Posts: 25662
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Extended Command: SelUnqSubUnit

Tue Dec 18, 2007 3:45 pm

SelUnqSubUnit now accept two new optional parameters:

Area <AreaUID>

and

Region <RegionUID>

Like in

SelUnqSubUnit Napoleon; Region $Paris

The previous parameter supported was CondSkip, which skip the command if the SubUnit selector was already valued. You can evaluate if it is valued with the EvalSubUnitSel command (no parameter).

Reminder: SelUnqUnit is deprecated.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

A tip for WIA only

Wed Oct 07, 2009 5:27 pm

Note for WIA only

This command searches on the names of elements of a unit, not the name of a unit.

Since WIA is a slightly different engine [level 2, no C&C (Divisions)], to use this command you must replicate the Name of the unit [column 'B'] into Param3 [column 'G'] in your setups and Events.

The command then functions well, restricting the selection to a Region if desired [like $Boston] ;)
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 9 guests