sendSimpleCommand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(more commands added)
Line 33: Line 33:
<dd class="note">Valid commands include: "FORWARD", "SLOW", "FAST" "BACK", "LEFT", "RIGHT", "STOP", "FIRE", "CEASE FIRE", "MANUAL FIRE", "CANCEL MANUAL FIRE". There may be more.
<dd class="note">Valid commands include: "FORWARD", "SLOW", "FAST" "BACK", "LEFT", "RIGHT", "STOP", "FIRE", "CEASE FIRE", "MANUAL FIRE", "CANCEL MANUAL FIRE". There may be more.
<dd class="note">Only vehicles crewed by a player can use sendSimpleCommand.
<dd class="note">Only vehicles crewed by a player can use sendSimpleCommand.
<dd class="notedate">
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]'''
<dd class="note">Other commands that work: "KEY FIRE", "KEY FAST", "KEY SLOW", "KEY DOWN", "KEY UP". These will simulate key presses.
<dd class="note">In Arma 3 player doesn't not always need to be in the vehicle to give commands.


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 15:58, 26 January 2014

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sends a simple command to the vehicle's driver / gunner.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
vehicle player sendSimpleCommand "STOP"

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

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 not always need to be in the vehicle to give commands.

Bottom Section