setUnconscious: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 16: | Line 16: | ||
| unit '''setUnconscious''' set |= Syntax | | unit '''setUnconscious''' set |= Syntax | ||
|p1= unit: [[Object]] - |= | |p1= unit: [[Object]] - |PARAMETER1= | ||
|p2= set: [[Boolean]] - |= | |p2= set: [[Boolean]] - |PARAMETER2= | ||
|p3= |= | |p3= |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_unit [[setUnconscious]] true;</code>|= | |x1= <code>_unit [[setUnconscious]] true;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[lifeState]] |= | | [[lifeState]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
Description
- Description:
- Since Arma 3 v1.63.136889, this command sets unit into incapacitated state and lifeState command returns "INCAPACITATED". Animation played while incapacitated depends on the injuries received.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_unit setUnconscious true;
Additional Information
- See also:
- lifeState
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
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: Global Effect
- ArmA 2: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Broken Scripting Commands