velocity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) 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]. | ||
{{ | {{Feature|important|Units are in metres per second.}} | ||
| [[velocity]] vehicleName | | [[velocity]] vehicleName |
Revision as of 02:11, 7 February 2021
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