Getting default fire & move state
Posted: 14 Dec 2009, 17:42
I would like, in Lua, and in few lines, to get the default value of standingfireorder and standingmoveorder of a unitDefID.
I thought about using UnitDefs[unitDefID].moveState and UnitDefs[unitDefID].fireState however, they are both always -1 (save for buildings where moveState is 1).
I thought about using UnitDefs[unitDefID].moveState and UnitDefs[unitDefID].fireState however, they are both always -1 (save for buildings where moveState is 1).