Difference between revisions of "brakesDisabled"
Jump to navigation
Jump to search
killzone_kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.08 |branch= dev |arg= global |gr1= Object Manipulation |descr= Returns the status of autobrake (see disableBrakes) |s1= ...") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
− | |||
|arg= global | |arg= global | ||
Line 9: | Line 8: | ||
|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 16: | 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]] | + | |seealso= [[disableBrakes]] [[awake]] [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] [[setVelocityTransformation]] [[setVelocityModelSpace]] |
}} | }} |
Latest revision as of 13: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