Page 1 of 1

Fixing units

Posted: Fri Oct 10, 2008 4:04 pm
by jastaV
What's the best, most updated command to fix all units on map?

ex:
SelectSubUnits; Area $Theater_Germany|FactionTags FRA|SAX|KOI|WES|.......
[color="RoyalBlue"]To select units[/color]

[color="RoyalBlue"]Tried these ones for fixing units:[/color]
[color="Red"]AlterCuSubUnit; ApplytoList|ChgFixing 999

AlterCuSubUnit; ApplytoList|ChgFixing|999[/color]

...with no results!

Thanks in advance for any working example!

Posted: Sat Oct 11, 2008 10:01 am
by jastaV
I'm at bay with the Armistice fixing units!

I need a command fixing in place all on map units, (single units as groups) as soon as the Armistice event is triggered.
Occuring that mid' way along a played campaign a cannot predic units/groups actual positions or the detachement of single units/Division from larger groups.

I tried a mess of solutions, having searched NCP, BOA Excel files for examples......

ChgGroupFixing works only over a group, having previously identified it by its leader by EvalUnqUnit = leader unique name.

BOA SelUnqUnit then ChangeFixing works over unique units: may be I'll have to add separate SelUnqUnit & ChangeFixing Commands for any and all units in game!

[color="RoyalBlue"]If possible I'd like to use a single command string, may be picking up all units by Tags and then fixing them.[/color]

Grateful in advance for sugestions!

JastaV

Posted: Sat Oct 11, 2008 3:18 pm
by Pocus
The keyword is SetFixing like in AlterCuSubUnit; ApplytoList|SetFixing 999
[color=Black]
Notice that there is a space and not a pipe between the argument and the value. Arguments are separated by a pipe, values for a given argument are separated by a space.

[/color]

Posted: Sat Oct 11, 2008 4:54 pm
by jastaV
Pocus wrote:The keyword is SetFixing like in AlterCuSubUnit; ApplytoList|SetFixing 999
[color=Black]
Notice that there is a space and not a pipe between the argument and the value. Arguments are separated by a pipe, values for a given argument are separated by a space.

[/color]


Thanks!

Crossing fingers and going to try this one

Posted: Sat Oct 11, 2008 8:46 pm
by jastaV
Pocus wrote:The keyword is SetFixing like in AlterCuSubUnit; ApplytoList|SetFixing 999
[color=Black]
Notice that there is a space and not a pipe between the argument and the value. Arguments are separated by a pipe, values for a given argument are separated by a space.

[/color]


SetFixing command is a great tool! :thumbsup:
Thanks for suggestion!

Indeed, I check and noticed that [color="Red"]SetFixing[/color] was never used within NCP files, before: was it a sort of secret command?
How many more?
I can understand difficulties behiend editing a full AGEod File modding/editing guide: AT LIST A FULL, UPDATED LIST OF SUPPORTED COMMANDS COULD GREATELY HELP! :neener:

Posted: Mon Oct 13, 2008 8:34 am
by Pocus
Don't remember when it was coded in fact ... But yes several people are working on a manual but so far none has achieved the feat of completing it :)