hey
i really need this script for a number of missions im making
i need a script that has 2 variables
lower rank(lr) and return salute(option 0 = dont return, 1 = do return)
when a lower rank unit comes within 7 meters of a higher rank unit the lower rank unit will salute the higher rank unit without turning or looking at him, just staying the direction he is facing. I need the lower rank unit to hold the salute for about 4 seconds. if return salute is set to 1 then the higher rank unit will salute him back but if it is set to 0 then he will just ignore it.
[man1,0] exec"salute.sqs"
man1 is the lower rank unit, 0 means the higher rank unit will not salute him back.
[man2,1] exec"salute.sqs"
man2 is the lower rank unit, 1 means the higher rank unit will stop, go into safe mode if he isint already, return the salute, then go into aware mode and continue his waypoints.
basicly what im mostly using it for is a gaurd at the entrance to a base, and the base has jeeps men and other stuff passing in and out and everytime the gaurd is near a unit of higher rank then he will salute him as he enters or exits the base
i hope u understand what i mean
thanks in advance
penguin