isAwake: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
m (removed effect locality) |
||
Line 5: | Line 5: | ||
|arg= global | |arg= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation |
Latest revision as of 17:20, 10 October 2024
Description
- Description:
- Returns resting state of a PhysX (EPE) object. Some EPE objects are deliberately put to sleep by the engine to save resources. This command returns true when object is simulating and false when it is put to sleep. With units of type Man the behaviour is slightly different. As units never get put to sleep, the command outputs ragdoll state of a unit instead. There are 6 states for the output of the command:
- Groups:
- Object Manipulation
Syntax
- Syntax:
- isAwake object
- Parameters:
- object: Object - PhysX object or unit
- Return Value:
- Boolean - see description
Examples
- Example 1:
- Example 2:
- 2.10 Here is a simple formula to return ragdoll state of a unit:
Additional Information
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