velocity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
back to [[Scripting_Reference#V|COMREF]] | |||
<h2 style="color:#000066">'''velocity ''vehicle'''''</h2> | <h2 style="color:#000066">'''velocity ''vehicle'''''</h2> | ||
'''Operand types:''' | '''Operand types:''' | ||
vehicle: [[Object]] | '''vehicle:''' [[Object]] | ||
'''Type of returned value:''' | '''Type of returned value:''' | ||
Line 12: | Line 15: | ||
Return velocity (speed vector) of vehicle as array '''[x, z, y]'''. | Return velocity (speed vector) of vehicle as array '''[x, z, y]'''. | ||
'''Example:''' | '''Example:''' | ||
? '''velocity''' carOne > 50 : hint "Slow down, you are exceeding the speed limit." | ? '''velocity''' carOne > 50 : [[hint]] "Slow down, you are exceeding the speed limit." |