Struggling to find values for various things that I can't seem to locate in the java or C++ source header files.
Example is the various fire_states
I know that I can issue a SetFireStateUnitAICommand but I don't know the values to put in for fireState.
I checked the spring engine source files...sepcifically commandAI.cpp and while it handles changes to the fire state, nowhere can I get a list of the integer values I should be using.
Help?
where to find int values of various attributes (java AI)
Moderators: hoijui, Moderators
-
- Posts: 51
- Joined: 14 Aug 2008, 21:54
Re: where to find int values of various attributes (java AI)
Fire state:
0 = Hold fire
1 = Return fire
2 = Fire at will
Move state:
0 = Hold pos
1 = Maneuver
2 = Roam
0 = Hold fire
1 = Return fire
2 = Fire at will
Move state:
0 = Hold pos
1 = Maneuver
2 = Roam
Re: where to find int values of various attributes (java AI)
rts/ExternalAI/Interface/AISCommands.h
in genreal, the files in this folder should be the first place where you should look.
the fire state thing is actually doccuemtned already, and would be in the java file even, IF i had used /// instead of only // :D (fixed it, will commit later)
in genreal, the files in this folder should be the first place where you should look.
the fire state thing is actually doccuemtned already, and would be in the java file even, IF i had used /// instead of only // :D (fixed it, will commit later)
-
- Posts: 51
- Joined: 14 Aug 2008, 21:54
Re: where to find int values of various attributes (java AI)
thanks to both of you!!!