sendSimpleCommand: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (a3 feature) |
Killzone Kid (talk | contribs) (see also) |
||
Line 43: | Line 43: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[useAISteeringComponent]], [[effectiveCommander]], [[setEffectiveCommander]], [[enableAI]], [[disableAI]], [[enableAIFeature]], [[enableSentences]] |SEEALSO= | | [[vehicleMoveInfo]], [[useAISteeringComponent]], [[effectiveCommander]], [[setEffectiveCommander]], [[enableAI]], [[disableAI]], [[enableAIFeature]], [[enableSentences]] |SEEALSO= | ||
}} | }} |
Revision as of 17:02, 28 October 2019
Description
- Description:
- Sends a simple command to the vehicle's driver / gunner (except air vehicles).
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) Template:since
- "KEY UP"
- "KEY DOWN"
- "KEY FAST"
- "KEY SLOW"
- 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:
- vehicleMoveInfouseAISteeringComponenteffectiveCommandersetEffectiveCommanderenableAIdisableAIenableAIFeatureenableSentences
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.