getSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|GETSPEED]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|GETSPEED]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''object'' getSpeed  ''speedMode'''''</h2>
|2.92|= Game version
____________________________________________________________________________________________


| Get the speed for the given speed mode. SpeedMode can be: |= Description
____________________________________________________________________________________________


'''Operand types:'''
| object '''getSpeed''' speedMode |= Syntax


'''object''': [[Object]]
|p1= object [[Object]] |= Parameter 1


'''speedMode''': [[String]]
|p2= speedMode [[String]] |= Parameter 2
   
'''Type of returned value:'''


[[Number]]
| [[Number]] |= Return value
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Version 2.92 required.
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Get the speed for the given speed mode.
<!-- Note Section END -->
</dl>


'''SpeedMode''' can be:
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|GETSPEED]]
*"AUTO"
[[Category:Scripting Commands ArmA|GETSPEED]]
*"SLOW"
*"NORMAL"
*"FAST"

Revision as of 01:22, 2 August 2006

-wrong parameter ("Arma") defined!-2.92
Hover & click on the images for description

Description

Description:
Get the speed for the given speed mode. SpeedMode can be:
Groups:
Uncategorised

Syntax

Syntax:
object getSpeed speedMode
Parameters:
object Object
speedMode String
Return Value:
Number

Examples

Examples:
Example needed

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

Notes

Bottom Section