Page 1 of 1

scenario editor: did you know..

Posted: Fri Jun 10, 2022 12:37 pm
by sbpc1
under unit action:
editunitaction.png
editunitaction.png (54.93 KiB) Viewed 710 times
the "type" number refers to the unit ID# in the equipment file? you can change one unit to another - thats wild!
I have only tried it on the AI side. presumably the change only lasts the duration of the scenario so i don't think its going to change what the unit is in the players core carrying forward to the next scenario if you used it on your units.

i've not seen it mentioned in these pages before so i thought i'd educate the handful of people still editing/creating scenarios.i've not seen it used in any scenarios so i'll try to think of a use for it - creative suggestions welcome.

you can also use "add" rather than "set" which increments the unit ID# -- might be useful for "switching" i.e. multipurpose units depending on how your equipment file is set up.

also notice the "Update units:" section of this dialog box - you have to tick either "core" or "aux" or both. scripts can be tricky to get to work - official documentation for this stuff is sparse.

Re: scenario editor: did you know..

Posted: Tue Jun 28, 2022 7:29 am
by maguro
Nice find! I'm definitely going to play around with this feature.

Re: scenario editor: did you know..

Posted: Tue Jun 28, 2022 3:02 pm
by sbpc1
if you could find out what "transport type" does that would be interesting.

what i have found:- if you need to put a negative value in, say -1, you need to use the DEL or delete key to empty the text box of any existing value before putting you new value in. it doesn't like overwriting highlighted values or the backspace key.

the value "Side" can be set to 0 (AXIS) - usually the player, or 1 (ALLIES) - usually the AI. a unit changing sides is an interesting way to do capturing equipment.

the value "Flag" can be set to -2 (no flag/remove flag) or -1 (neutral). most useful in combination with hex action.

message boxes (add message action) can have pictures in them. cool! i think mods like PAK MOD use this feature.