limitSpeed: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 36: | Line 36: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 28 July 2013 | |||
<dt class="note>'''[[User:Will|Will]]''' | |||
<dd class="note">This command has no effect (doesnt do anything) in Arma3 (V1.24) | |||
<dd class="notedate">Posted on 9 February 2008 | <dd class="notedate">Posted on 9 February 2008 | ||
Line 51: | Line 55: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 12:00, 28 July 2014
Description
- Description:
- Limit speed of given vehicle or person to given value (in km/h).
- Groups:
- Uncategorised
Syntax
- Syntax:
- objectName limitSpeed speed
- Parameters:
- objectName: Object
- speed: Number
- Return Value:
- Nothing
Examples
- Example 1:
// Adjust "speedLimit" variable to change limited speed this setVariable ["speedLimit", 200]; nul = this spawn { while {canMove _this} do { _this limitSpeed (_this getVariable "speedLimit"); sleep 0.1; }; };
Additional Information
- See also:
- speed
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
- Posted on 28 July 2013
- Will
- This command has no effect (doesnt do anything) in Arma3 (V1.24)
- Posted on 9 February 2008
- Kronzky
- Has only an temporary effect on the vehicle specified (i.e. vehicle goes back to its previous speed right away). So, in order for this command to have a real, noticeable effect, it would have to be issued continuously (e.g. via a script loop). (V1.08.5163)