leaveVehicle: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 40: | Line 40: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on August 31, 2013 | |||
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]''' | |||
<dd class="note">In ArmA 3 this command will not force a player to exit from a vehicle. It will unassign vehicle role for this player. If there is "GetOut" event handler attached to the vehicle, when fired upon player exiting, the event handler will pass empty array [] intead of usual [vehicle, position, unit]; | |||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 15:08, 31 August 2013
Description
- Description:
- Ceases the using of the vehicle by either a unit or a group. It unassigns them from the vehicle.
- Groups:
- Uncategorised
Syntax
- Syntax:
- group leaveVehicle vehicle
- Parameters:
- group: Object or Group
- vehicle: Object
- Return Value:
- Nothing
Examples
- Example 1:
soldierOne leaveVehicle jeepOne
- Example 2:
groupOne leaveVehicle jeepOne
Additional Information
- See also:
- addVehicleassignAsCargoassignAsCommanderassignAsDriverassignAsGunnerassignedVehicleunassignVehicle
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- Posted on August 31, 2013
- Killzone_Kid
- In ArmA 3 this command will not force a player to exit from a vehicle. It will unassign vehicle role for this player. If there is "GetOut" event handler attached to the vehicle, when fired upon player exiting, the event handler will pass empty array [] intead of usual [vehicle, position, unit];
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2 version 1.00
- Arma 2: New Scripting Commands
- Arma 2: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Unit Control
- Command Group: Vehicle Assignment