Hi Guys,
I used this script to boot a passenger out of a bus I'm driving.
;[B1, PA1] exec "Getout.sqs"
_Bus = _this select 0
_Man = _this select 1
#Update
? speed _Bus < 5 : goto "Getout"
~0.5
goto "Update"
#Getout
_Man action ["EJECT",_Bus]
exit
The passenger was added using the MoveinCargo command.
The problem is; as soon as the guy ejects he runs to get back in my bus again... What command do I use to make him get out and move to his next waypoint on foot.