moveOut: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= * )+" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<dl class='command_description'>" to "<dl class="command_description">") |
||
Line 48: | Line 48: | ||
}} | }} | ||
<dl class= | <dl class="command_description"> | ||
<dd class="notedate">Posted on August 07, 2020 - 08:53 (UTC)</dd> | <dd class="notedate">Posted on August 07, 2020 - 08:53 (UTC)</dd> | ||
<dt class="note">[[User:.kju|.kju]]</dt> | <dt class="note">[[User:.kju|.kju]]</dt> |
Revision as of 16:56, 21 May 2021
Description
- Description:
- Description needed
- Groups:
- Unit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- soldier: Object
- Return Value:
- Return value needed
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:
- See also needed
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