brakesDisabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|branch= dev " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|arg= global | |arg= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|descr= Returns the status of autobrake (see [[disableBrakes]]) | |descr= Returns the status of autobrake (see [[disableBrakes]]). | ||
|s1= [[brakesDisabled]] transport | |s1= [[brakesDisabled]] transport | ||
Line 14: | Line 16: | ||
|r1= [[Boolean]] - [[true]] if autobrake is disabled | |r1= [[Boolean]] - [[true]] if autobrake is disabled | ||
|x1= < | |x1= <sqf> | ||
if !(brakesDisabled _vehicle) then | |||
{ | |||
disableBrakes _vehicle; | |||
}; | |||
</sqf> | |||
|seealso= [[disableBrakes]] [[awake]] [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] [[setVelocityTransformation]] [[setVelocityModelSpace]] | |seealso= [[disableBrakes]] [[awake]] [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] [[setVelocityTransformation]] [[setVelocityModelSpace]] | ||
}} | }} |
Latest revision as of 12:49, 3 May 2022
Description
- Description:
- Returns the status of autobrake (see disableBrakes).
- Groups:
- Object Manipulation
Syntax
- Syntax:
- brakesDisabled transport
- Parameters:
- transport: Object - PhysX car or tank
- Return Value:
- Boolean - true if autobrake is disabled
Examples
- Example 1:
Additional Information
- See also:
- disableBrakes awake isAwake addTorque addForce vectorModelToWorld vectorModelToWorldVisual selectionPosition setVelocityTransformation setVelocityModelSpace
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