SetUnitTurnToFace
Posted: Mon Oct 08, 2012 5:41 pm
For example, I add some random units as reinforcements, and I want the units are placed facing to a tile in the center of the map. As the added units will come from a random edge of the map, I found that this functions (SetUnitTurnToFace(id, 27, 23)) puts the units facing to the tile, BUT, if it's a tank the turret is not facing to the center.
How can a move the turret so it's facing the same facing that the unit?.
I see several functions to GET the turret angle or facing but not to move it.
How can a move the turret so it's facing the same facing that the unit?.
I see several functions to GET the turret angle or facing but not to move it.