MaldorLevr
Member-
Content Count
6 -
Joined
-
Last visited
-
Medals
Everything posted by MaldorLevr
-
Send a player into the air from the backseat of the car
MaldorLevr posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
So I've been trying to get this script working where the person in the backseat of the car gets ejected and then launched into the air for the server that I develop for. Whenever I try this script the player gets ejected into the air, but only the driver sees it happen. For the player being ejected he is just out of the car, standing there. I'm honestly completely stumped on this one and I have no clue what to do to try and fix it. _backseat = crew (vehicle player) select 1; ejecter = _backseat; _backseat action ["eject", vehicle player]; ejecter setVelocity [0,0,100]; -
Send a player into the air from the backseat of the car
MaldorLevr replied to MaldorLevr's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Bump? -
Ejecting a player from a back seat in a car
MaldorLevr posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, I'd like to make a script where the driver can kick people out of his vehicle(ground vehicle). I'm having problems getting the driver to kick out passengers. When I do: driver vehicle player Action ["eject", vehicle player]; it kicks the driver out as expected but when I try: crew vehicle player Action ["eject", vehicle player]; nobody gets kicked out of the vehicle. -
Ejecting a player from a back seat in a car
MaldorLevr replied to MaldorLevr's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thank you again, I guess I should've read the wiki a bit more. So to eject a passenger/person in back would I do { _x action ["eject", vehicle player]; } forEach (crew (vehicle player) select 4); OR crew (vehicle player) select 4 action ["eject", vehicle player]; -
Check what kind of vehicle player is in
MaldorLevr posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
So I have a semi-complex script but there's 1 part I'm having trouble with. I need to check what kind of vehicle the player is in. It's just a simple one line piece of code that I hope you guys can help me with. hint format["%1", typeof player vehicle]; Right now this is not returning anything. Thank you in advance guys! -
Check what kind of vehicle player is in
MaldorLevr replied to MaldorLevr's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thank you, that saved me a lot of time.