sendSimpleCommand: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ") |
||
Line 47: | Line 47: | ||
<dd class="notedate"> | <dd class="notedate"> | ||
<dt class="note">[[User:Ceeeb|Ceeeb]] | <dt class="note">[[User:Ceeeb|Ceeeb]]</dt> | ||
<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> | <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. | 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]]</dt> | ||
<dd class="note">Other commands that work: "KEY FIRE", "KEY FAST", "KEY SLOW", "KEY DOWN", "KEY UP". These will simulate key presses.<br><br> | <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. | In Arma 3 player doesn't always need to be in the vehicle to give commands. |
Revision as of 01:23, 30 January 2021
Description
- Description:
- Description needed
- Groups:
- Unit Control
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicleName: Object
- command: String
- Return Value:
- Return value needed
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
- 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.