getDir on the gunner?
Ok i tryed this but i got bad results,
my sqs:
_arr = _this select 0
_tank =_arr select 0
_gunner = gunner _tank
_commander = commander _tank
_gundir = getdir _gunner
_comdir = getdir _commander
In both ways _gundir=0 and _comdir=0 at any turret position
I tryed to get gunner and commander positions:
_gunpos = getpos _gunner
_compos = getpos _commander
But this values the same as a tank position(_tpos = getpos _tank)
Little succes was when i tryed to get the commander position when he
uncovered (hatch is open), but only global position but not the direction!
Anyway i can calculate the angle of turret , substructing the tank and commander position whith sin or cos->
But if commander is uncovered it is easy becomes to be killed??!!
I need somehow at one moment to uncover commander, get his pos and cover him in the tank (at combat mode), But i don't know how to make it quickly
The command like action ["TURNOUT",_tank] and action ["TURNIN",_tank] are very slow. MAYBE IS SOME OTHER WAY?
STRANGE when some crewman is inside (combat mode) the tank, the OFP thinks that crewman's position and direction is same as a tank. I dont know why?!