sendSimpleCommand

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Sends a simple command to the vehicle's driver / gunner. The player executing command should be in the vehicle.

Gunner commands
  • "FIRE"
  • "CEASE FIRE"
  • "MANUAL FIRE"
  • "CANCEL MANUAL FIRE"
  • "KEY FIRE"

Driver commands
  • "FORWARD" - move forward
  • "FAST" - move forward, fast
  • "SLOW" - move forward, slow
  • "STOP" - stop moving forward or backward
  • "BACK" - move backward
  • "LEFT" - turn left, while moving or not
  • "RIGHT" - turn right, while moving or not
  • "STOPTURNING" - cancel turning (special case, normally would be called by the engine when LEFT or RIGHT turn key is released by the player)       (since Arma 3 v1.77)
  • "KEY UP"
  • "KEY DOWN"
  • "KEY FAST"
  • "KEY SLOW"

Syntax

Syntax:
vehicleName sendSimpleCommand command
Parameters:
vehicleName: Object
command: String
Return Value:
Nothing

Examples

Example 1:
vehicle player sendSimpleCommand "STOP";

Additional Information

Multiplayer:
-
See also:
enableSentences

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

Ceeeb
Valid commands include: "FORWARD", "SLOW", "FAST" "BACK", "LEFT", "RIGHT", "STOP", "FIRE", "CEASE FIRE", "MANUAL FIRE", "CANCEL MANUAL FIRE". There may be more.

Only vehicles crewed by a player can use sendSimpleCommand.
Killzone_Kid
Other commands that work: "KEY FIRE", "KEY FAST", "KEY SLOW", "KEY DOWN", "KEY UP". These will simulate key presses.

In Arma 3 player doesn't always need to be in the vehicle to give commands.

Bottom Section