OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: sharkattack on 14 Jul 2007, 09:14:22

Title: vehicle issues
Post 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
Title: Re: vehicle issues
Post by: LCD on 14 Jul 2007, 13:48:17
use da eject command

(driver car1) action ["EJECT", car1]

instead of da dogetout

shud work

LCD OUT
Title: Re: vehicle issues
Post by: Nixer6 on 14 Jul 2007, 16:43:45
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.
Title: Re: vehicle issues
Post by: Mandoble on 14 Jul 2007, 18:22:47
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
Title: Re: vehicle issues
Post by: Cheetah on 14 Jul 2007, 20:00:47
Mandoble, have you posted this at the ArmA bugs website?
Title: Re: vehicle issues
Post by: Mandoble on 14 Jul 2007, 22:15:20
Nah, cannot post there. They sent me a user confirmation link and didnt work, and not that I care pretty much about that  :whistle:
Title: Re: vehicle issues
Post by: nominesine on 15 Jul 2007, 17:34:19
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
Title: Re: vehicle issues
Post by: sharkattack on 16 Jul 2007, 20:25:02
Thats  what i ended  up doing  ..  just  been  lazy    :)