setUnconscious: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Object Manipulation |GROUP1= | |gr1= Object Manipulation |GROUP1= | ||
| In {{arma2}} and since {{arma3}} v1.63.136889, this command sets unit into incapacitated state.<br> | | In {{arma2}} and since {{arma3}} v1.63.136889, this command sets unit into incapacitated state.<br> | ||
Line 19: | Line 17: | ||
{{Feature|arma3|Animation played while incapacitated depends on the injuries received.}} |DESCRIPTION= | {{Feature|arma3|Animation played while incapacitated depends on the injuries received.}} |DESCRIPTION= | ||
| unit [[setUnconscious]] set |SYNTAX= | | unit [[setUnconscious]] set |SYNTAX= | ||
Line 30: | Line 27: | ||
|x1= <code>_unit [[setUnconscious]] true;</code> |EXAMPLE1= | |x1= <code>_unit [[setUnconscious]] true;</code> |EXAMPLE1= | ||
| [[lifeState]] |SEEALSO= | | [[lifeState]] |SEEALSO= |
Revision as of 03:57, 17 January 2021
Description
- Description:
- In Arma 2 and since Arma 3 v1.63.136889, this command sets unit into incapacitated state.
lifeState results:- Arma 2: "UNCONSCIOUS"
- Arma 3: "INCAPACITATED"
- Groups:
- Object Manipulation
Syntax
- Syntax:
- unit setUnconscious set
- Parameters:
- unit: Object
- set: Boolean
- Return Value:
- Nothing
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