- Joined
- Nov 3, 2013
- Messages
- 989
I've got some trouble with Computer AI issuing orders to computer owned units (even though I've used AI - Ignore Unit Guard Position or
Order Ids
Build the list of all orderids with constant integers
I obviously know what move & stop does, so I guess what this is mostly about is that I want to know what are
I've noticed that the "851987" order seems to be issued whenever a unit returns to their guard position (so basically, first the unit is issued a move order to the guard position after chasing some unit or w/e, then—when it returns—it is given this "851987" order and is free to do what it wants again.)
But I haven't been able to figure out anything of what the final order—order "851974"—does, and I can't find any mention of what it does anywhere, except this: "// For example order id 851974. An endless going, undocumented order serving no obvious purpose." Wander
Anyway, so in the meantime I've sort of 'fixed' it by issuing stop order (or re-issuing previous order from before the computer AI issued any move order), but the units still turn around and/or start moving a bit before stopping (I also had to put in a 0.00 long wait before issuing stop order as well, as it did nothing otherwise.)
I want to know if there's some way to stop the computer AI from issuing move orders (so I don't have to save the previous unit orders, targets, etc.) and also, I'm just curious if anyone knows what those two undocumented orders are.
native RemoveGuardPosition takes unit hUnit returns nothing
in jass).Order Ids
public constant integer instant2=851987 //?
public constant integer move=851986
public constant integer stop=851972
Build the list of all orderids with constant integers
constant integer UNKNOWN73 = 851974
I obviously know what move & stop does, so I guess what this is mostly about is that I want to know what are
public constant integer instant2=851987 //?
and constant integer UNKNOWN73 = 851974
, and how are they used?I've noticed that the "851987" order seems to be issued whenever a unit returns to their guard position (so basically, first the unit is issued a move order to the guard position after chasing some unit or w/e, then—when it returns—it is given this "851987" order and is free to do what it wants again.)
But I haven't been able to figure out anything of what the final order—order "851974"—does, and I can't find any mention of what it does anywhere, except this: "// For example order id 851974. An endless going, undocumented order serving no obvious purpose." Wander
Anyway, so in the meantime I've sort of 'fixed' it by issuing stop order (or re-issuing previous order from before the computer AI issued any move order), but the units still turn around and/or start moving a bit before stopping (I also had to put in a 0.00 long wait before issuing stop order as well, as it did nothing otherwise.)
I want to know if there's some way to stop the computer AI from issuing move orders (so I don't have to save the previous unit orders, targets, etc.) and also, I'm just curious if anyone knows what those two undocumented orders are.