unassignVehicle: Difference between revisions
Jump to navigation
Jump to search
m (fixed example) |
mNo edit summary |
||
Line 27: | Line 27: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
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. | |||
<dd class="notedate">Posted on August 4, 2006 - 12:05</dd> | |||
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''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: | To prevent this happening also use [[allowGetIn]] as in the example below: | ||
{unassignVehicle _x} [[forEach]] [[crew]] vehiclename; [[crew]] vehiclename [[allowGetIn]] [[false]] | {unassignVehicle _x} [[forEach]] [[crew]] vehiclename; [[crew]] vehiclename [[allowGetIn]] [[false]] | ||
</dd> | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 13:05, 4 August 2006
Description
- Description:
- Unit is unassigned from the vehicle. If he is currently in, group leader will issue order to disembark. Examples: unassignVehicle player will make the player disembark {unassignVehicle _x} forEach crew vehiclename will make all the occupants of a vehicle disembark
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
- unassignVehicle player
Additional Information
- See also:
- Example 1
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