brakesDisabled: Difference between revisions

From Bohemia Interactive Community
m (Some wiki formatting)
mNo edit summary
 
Line 6: Line 6:
|arg= global
|arg= global


|gr1= Object Manipulation
|gr1= PhysX


|descr= Returns the status of autobrake (see [[disableBrakes]]).
|descr= Returns the status of autobrake (see [[disableBrakes]]).

Latest revision as of 13:02, 26 June 2025

Hover & click on the images for description

Description

Description:
Returns the status of autobrake (see disableBrakes).
Groups:
PhysX

Syntax

Syntax:
brakesDisabled transport
Parameters:
transport: Object - PhysX car or tank
Return Value:
Boolean - true if autobrake is disabled

Examples

Example 1:
if !(brakesDisabled _vehicle) then { disableBrakes _vehicle; };

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