Jump to content
Sign in to follow this  
Sweetwater.I

Disembark Left or Right of Vehicle

Recommended Posts

Hello, My intention is to have an option that allows all players within a vehicle to scroll wheel to either "left" or "right" to exit the vehicle on that side.

However I'm stuck attempting to make sense of the add actions and how its to fit together.

Is there already a script with this function, or perhaps an easier way to go about it then add actions?

So far:

_vehicle addEventHandler ["getIn", {
_vehicle addAction ["< Left","\scripts\ejectLeft.sqf"];
_vehcile addAction ["> Right","\scripts\ejectRight.sqf"];

Share this post


Link to post
Share on other sites

Make the screen go black, eject the player then setPos them to the left or right depending on the action, then fade the screen back in.

Share this post


Link to post
Share on other sites

How would you go about adding the two add actions for each player on the server when they get in the vehicles?

Share this post


Link to post
Share on other sites
How would you go about adding the two add actions for each player on the server when they get in the vehicles?

Would be easier to just have the addactions always be there but instead add a condition to the addaction like: vehicle player == player

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×