speed: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (see also, description) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Object speed (in km/h). |= Description | | Object speed (in km/h). Returns relative speed of given object along Y axis. An equivalent to:<br><br><tt>3.6 * ([[velocityModelSpace]] _obj [[select]] 1)</tt> |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''speed''' object |= Syntax | ||
|p1= object: [[Object]] |= Parameter 1 | |p1= object: [[Object]] |= Parameter 1 | ||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[limitSpeed]] |= See also | | [[velocity]], [[velocityModelSpace]], [[limitSpeed]] |= See also | ||
}} | }} |
Revision as of 02:31, 8 December 2015
Description
- Description:
- Object speed (in km/h). Returns relative speed of given object along Y axis. An equivalent to:
3.6 * (velocityModelSpace _obj select 1) - Groups:
- Uncategorised
Syntax
Examples
- Example 1:
? (speed _truck1) >= 100 : hint "You're going too fast!"
Additional Information
- See also:
- velocityvelocityModelSpacelimitSpeed
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters