disableBrakes: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|branch= dev


|arg= local
|arg= local
|eff= global
|eff= global


Line 11: Line 11:


|descr= Disables autobrake, which is engaged when vehicle is stationary and stops wheels from rotating freely when vehicle is pushed.
|descr= Disables autobrake, which is engaged when vehicle is stationary and stops wheels from rotating freely when vehicle is pushed.
|s1= transport [[disableBrakes]] disable
|s1= transport [[disableBrakes]] disable


Line 19: Line 20:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>mycar [[disableBrakes]] [[true]];</code>
|x1= <sqf>myCar disableBrakes true;</sqf>


|seealso= [[brakesDisabled]] [[awake]] [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] [[setVelocityTransformation]] [[setVelocityModelSpace]]
|seealso= [[brakesDisabled]] [[awake]] [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] [[setVelocityTransformation]] [[setVelocityModelSpace]]
}}
}}

Latest revision as of 12:45, 3 May 2022

Hover & click on the images for description

Description

Description:
Disables autobrake, which is engaged when vehicle is stationary and stops wheels from rotating freely when vehicle is pushed.
Groups:
Object Manipulation

Syntax

Syntax:
transport disableBrakes disable
Parameters:
transport: Object - PhysX car or tank
disable: Boolean - true to disable autobrake. The autobrake is re-enabled if the driver uses brakes
Return Value:
Nothing

Examples

Example 1:
myCar disableBrakes true;

Additional Information

See also:
brakesDisabled 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