OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: sharkattack on 14 Jul 2007, 09:14:22
-
having a few probs with vehicles ...
if a gunner of a uaz is shot how would i get the driver to get out of uaz
have tried
not alive gunner car1; unassignVehicle driver car1
and
not alive gunner car1; DoGetOut driver car1
both of the above work if i manually place crew in vehicle and name them
-
use da eject command
(driver car1) action ["EJECT", car1]
instead of da dogetout
shud work
LCD OUT
-
Getting out of vehicles seems sorta bugged for AI ATM.
In MP, sometimes the only way to get AI to disembark now is to have them eject also.
ie;
Say you are draggin a couple of AI with you in a Stryker. You order them to disembark the "normal" way, sometimes the just sit there.
So, I have had to use action "eject" instead. It works everytime.
-
This and the retadish units not being able to board vehicles is what prevents me of playing ArmA, this way the game has a value of NULL for me, except for scripting :D
-
Mandoble, have you posted this at the ArmA bugs website?
-
Nah, cannot post there. They sent me a user confirmation link and didnt work, and not that I care pretty much about that :whistle:
-
both of the above work if i manually place crew in vehicle and name them
Then I suggest you do it that way :) Even if you manage to get the driver out of the UAZ, there's no way you can get him back in if you haven't named him in along the way. If you unassign driver car1 in the first line, then he is no longer driver car1 when your script tries to give him the order to get in again; because you just unAssigned him from that position. And ArmA doesent come with a unit-Who-Was-Driver-of-the-Vehicle-until-quite-recently command
-
Thats what i ended up doing .. just been lazy :)