Page 1 of 1

Behold! I am dumb! Simple question, setting default orders

Posted: 24 Jun 2007, 18:19
by Caydr
I forget, can we set units' default orders now, like hold fire, return fire, fire at will? (mod-side)

Also, does Hold Position/Maneuver/Roam have any impact in Spring? I just don't remember anymore... TBH I don't think I ever used it much even in TA.

Posted: 24 Jun 2007, 19:54
by Zoy64
Hold position=unit will not follow enemy far;

Maneuver=unit will folow enemy until enemy leaves sight or is dead;

Roam=unit will follow enemy until one of them dies. or so i think

and yes, these work, i use them all the time

Posted: 24 Jun 2007, 19:55
by Tobi
Yes, through COB/BOS IIRC, but I could be wrong (but I have seen something like that in a commit message :-))

Hold pos/Maneuver/Roam does have impact in Spring, though in certain cases (at least Patrol and Fight) the impact is limited to allowing the unit to move 0, 1 or 2 times a hardcoded distance away from it's path.

I know hold pos works for sure 'cause I use that in every game :-)

Posted: 24 Jun 2007, 20:12
by Guessmyname
I need to be able to set units to Roam at default - melee units don't move into attack range until it's too late with Maneuvre.

Posted: 24 Jun 2007, 23:28
by rattle
set/get STANDINGMOVEORDERS to value;
0=hold pos,1=maneuvre,2=roam

set/get STANDINGFIREORDERS to value;
0=hold fire,1=return,2=fire at will

I have to admit the patch I intially submitted didn't work, couldn't compile at the time so it wasn't tested properly. This one however now works.
http://spring.clan-sy.com/mantis/view.php?id=554