Page 1 of 1

tag for default fire state

Posted: 11 May 2007, 23:39
by 1v0ry_k1ng
I cant find one anywhere so im guessing there isnt one, is there is no tag to set a units default fire state to "return fire" or "hold fire"?
how hard would it be to make a patch if there is not?

Posted: 11 May 2007, 23:55
by zwzsg
The tag should be:
StandingFireOrder=2;// fire at will
StandingFireOrder=1;// return fire
StandingFireOrder=0;// hold fire

But don't be surprised if it doesn't work. In TA some units used that tag (like Bertha), other inherited the current setting from the builder (like tanks built from a factory).

Posted: 12 May 2007, 08:24
by KDR_11k
AFAIK the tags are implemented.

Posted: 12 May 2007, 11:34
by yuritch
Search through the source shows this tag isn't implemented (it isn't read from fbi files).
This variable can be set via COB set/get command, though. The following constants are defined for it (CobInstance.cpp):

Code: Select all

#define STANDINGMOVEORDERS   2  // set or get
#define STANDINGFIREORDERS   3  // set or get