sendSimpleCommand: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (formatted notes) |
||
Line 50: | Line 50: | ||
<dd class="notedate"> | <dd class="notedate"> | ||
<dt class="note">'''[[User:Ceeeb|Ceeeb]]''' | <dt class="note">'''[[User:Ceeeb|Ceeeb]]''' | ||
<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. <br><br> | ||
< | Only vehicles crewed by a player can use sendSimpleCommand. | ||
<dd class="notedate"> | <dd class="notedate"> | ||
<dt class="note">'''[[User:Killzone_Kid|Killzone_Kid]]''' | <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">Other commands that work: "KEY FIRE", "KEY FAST", "KEY SLOW", "KEY DOWN", "KEY UP". These will simulate key presses.<br><br> | ||
< | In Arma 3 player doesn't always need to be in the vehicle to give commands. | ||
Revision as of 18:26, 26 March 2016
Description
- Description:
- Sends a simple command to the vehicle's driver / gunner.
Gunner commands- FIRE
- CEASE FIRE
- MANUAL FIRE
- CANCEL MANUAL FIRE
- KEY FIRE
- FORWARD
- STOP
- BACK
- FAST
- KEY FAST
- SLOW
- KEY SLOW
- LEFT
- RIGHT
- KEY UP
- KEY DOWN
- 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:
- enableSentences
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 always need to be in the vehicle to give commands.