getForcedSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.12 |gr1= Object Manipulation |descr= Returns forced speed set with forceSpeed or -1 if not set. |s1= getForcedSpeed en...")
 
m (2.12 released, no longer only dev branch)
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 15:44, 28 February 2023

Hover & click on the images for description

Description

Description:
Returns forced speed set with forceSpeed or -1 if not set.
Groups:
Object Manipulation

Syntax

Syntax:
getForcedSpeed entity
Parameters:
entity: Object
Return Value:
Number

Examples

Example 1:
_spd = getForcedSpeed _heli;

Additional Information

See also:
forceSpeed getSpeed forceWalk

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