unassignVehicle: Difference between revisions
Jump to navigation
Jump to search
m (add See Also assignAsTurret) |
Fred Gandt (talk | contribs) m (<code> tidy + linking _x) |
||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>unassignVehicle [[player]]</code> |= Example 1 | |x1= <code>[[unassignVehicle]] [[player]];</code> |= Example 1 | ||
|x2= <code>{unassignVehicle _x} [[forEach]] [[crew]] _vehiclename</code> Will make all the occupants of a vehicle disembark |= Example 2 | |x2= <code>{ [[unassignVehicle]] [[Magic Variables|_x]] } [[forEach]] [[crew]] _vehiclename;</code> Will make all the occupants of a vehicle disembark |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 17:45, 29 March 2014
Description
- Description:
- Unassigns a unit from whichever vehicle that unit is currently assigned to. If the unit is currently in that vehicle, the group leader will issue an order to disembark.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
unassignVehicle player;
- Example 2:
{ unassignVehicle _x } forEach crew _vehiclename;
Will make all the occupants of a vehicle disembark
Additional Information
- See also:
- assignAsCargoassignAsCommanderassignAsDriverassignAsGunnerassignAsTurretassignedVehicleleaveVehicle
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 4, 2006 - 12:05
- hardrock
- Notes from before the conversion: Even though: {unassignVehicle _x} forEach crew vehiclename will make all the occupants of a vehicle disembark, if they are the original crew of the vehicle then they will just get back in again. To prevent this happening also use allowGetIn as in the example below: {unassignVehicle _x} forEach crew vehiclename; crew vehiclename allowGetIn false
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Command Group: Unit Control
- Command Group: Vehicle Assignment
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters