setVelocityModelSpace

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.68
  Arguments of this scripting command have to be local to the client the command is executed onEffects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.68

Description

Description:
Sets the velocity (speed vector) of the given vehicle relative to its model.

Syntax

Syntax:
vehicle setVelocityModelSpace [x, y, z]
Parameters:
vehicle: Object
[x, y, z]: Array - relative direction vector
Return Value:
Nothing

Examples

Example 1:
car setVelocityModelSpace [0, 10, 0]; //pushes car forward

Additional Information

Multiplayer:
-
See also:
velocityModelSpacevelocitysetVelocitysetVelocityTransformationspeed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section