speed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''speed''' obj |= Syntax
| [[Number]] <nowiki>=</nowiki> '''speed''' [[Object#Unit|Unit]] |= Syntax


|p1= obj: [[Object]] |= Parameter 1
|p1= [[Object#Unit|Unit]] |= Parameter 1


| [[Number]] |= Return value
| [[Number]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>? (speed truck1) ><nowiki>=</nowiki> 100 : [[hint]] "You're going too fast!"</code> |= Example 1
|x1= <code>? (speed _truck1) ><nowiki>=</nowiki> 100 : [[hint]] "You're going too fast!"</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:15, 31 August 2007

Hover & click on the images for description

Description

Description:
Object speed (in km/h).
Groups:
Uncategorised

Syntax

Syntax:
Number = speed Unit
Parameters:
Unit
Return Value:
Number

Examples

Example 1:
? (speed _truck1) >= 100 : hint "You're going 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

Notes

Bottom Section