moveOut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| (\[\[[a-zA-Z0-9 _#>\|]+\]\][^ ]*) \}\}" to "|seealso= $1 }}") |
||
Line 53: | Line 53: | ||
];</code> | ];</code> | ||
| [[Arma_3_Actions#Eject|action eject]], [[doGetOut]], [[commandGetOut]], [[leaveVehicle]], [[moveInDriver]], [[moveInGunner]], [[moveInCommander]], [[moveInTurret]], [[moveInCargo]], [[isTurnedOut]] | |seealso= [[Arma_3_Actions#Eject|action eject]], [[doGetOut]], [[commandGetOut]], [[leaveVehicle]], [[moveInDriver]], [[moveInGunner]], [[moveInCommander]], [[moveInTurret]], [[moveInCargo]], [[isTurnedOut]] | ||
}} | }} | ||
Revision as of 03:09, 13 June 2021
Description
- Description:
- Description needed
- Groups:
- Unit Control
Syntax
Examples
- Example 1:
{if (lifeState _x == "UNCONSCIOUS") then {moveOut _x}} forEach crew cursorTarget;
- Example 2:
- Move out player just before he dies:
player addEventHandler [ "HandleDamage", format [ 'if (switch (_this select 1) do { case "": {_this select 2 >= 1}; case "head": {_this select 2 >= %1}; case "body": {_this select 2 >= %2}; default {false}; }) then {moveOut player}', getNumber (configFile >> "CfgFirstAid" >> "CriticalHeadHit"), getNumber (configFile >> "CfgFirstAid" >> "CriticalBodyHit") ] ];
Additional Information
- See also:
- action ejectdoGetOutcommandGetOutleaveVehiclemoveInDrivermoveInGunnermoveInCommandermoveInTurretmoveInCargoisTurnedOut
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