velocity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 8: Line 8:


| Return velocity (speed vector) of [[Object#Unit|Unit]] as an array with format [x, y, z].
| Return velocity (speed vector) of [[Object#Unit|Unit]] as an array with format [x, y, z].
{{Important|Units are in metres per second.}}
{{Feature|important|Units are in metres per second.}}


| [[velocity]] vehicleName
| [[velocity]] vehicleName

Revision as of 02:11, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
vehicleName: Object
Return Value:
Return value needed

Examples

Example 1:
_vector = velocity jeep;
Example 2:
if ((velocity _plane1 select 2) > 50) then { hint "Aircraft is climbing up too fast!"; };

Additional Information

See also:
See also needed

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