OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Surdus Priest on 30 Sep 2007, 01:37:12

Title: forcing a disembark on player
Post by: Surdus Priest on 30 Sep 2007, 01:37:12
i've tried unassignVehicle but its not working, i just need a way to force a player out of a vehicle, thanks

surdus
Title: Re: forcing a disembark on player
Post by: Planck on 30 Sep 2007, 03:33:48
Try:

player action ["eject",vehiclename]


Planck
Title: Re: forcing a disembark on player
Post by: Surdus Priest on 30 Sep 2007, 13:48:53
thanks, i also need a condition for when the player is not in a vehicle (any vehicle)
Title: Re: forcing a disembark on player
Post by: LCD on 30 Sep 2007, 14:39:07
vehicle player == player

will return true if da player is not in vehicle

LCD OUT