User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Fixing units

Fri Oct 10, 2008 4:04 pm

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!

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Sat Oct 11, 2008 10:01 am

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

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

Sat Oct 11, 2008 3:18 pm

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]
Image


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

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Sat Oct 11, 2008 4:54 pm

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

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Sat Oct 11, 2008 8:46 pm

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:

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

Mon Oct 13, 2008 8:34 am

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 :)
Image


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

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 8 guests