isAwake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 10: Line 10:
|gr1= Object Manipulation
|gr1= Object Manipulation


|descr= Returns resting state of a PhysX object. If object of class <tt>Man</tt> is used for the argument, the command returns [[false]] if ragdoll simulation is active and [[true]] if there is no ragdoll simulation. Destroyed and null objects return [[false]].  
|descr= Returns resting state of a PhysX object. If object of class {{hl|Man}} is used for the argument, the command returns [[false]] if ragdoll simulation is active and [[true]] if there is no ragdoll simulation. Destroyed and null objects return [[false]].  


|s1= [[isAwake]] object
|s1= [[isAwake]] object

Revision as of 23:45, 15 November 2021

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.08.

Description

Description:
Returns resting state of a PhysX object. If object of class Man is used for the argument, the command returns false if ragdoll simulation is active and true if there is no ragdoll simulation. Destroyed and null objects return false.
Groups:
Object Manipulation

Syntax

Syntax:
isAwake object
Parameters:
object: Object - PhysX object or unit
Return Value:
Boolean

Examples

Example 1:
_isAwake = isAwake _object;

Additional Information

See also:
awake addTorque addForce vectorModelToWorld vectorModelToWorldVisual selectionPosition

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