sendSimpleCommand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object#Unit|Unit]] '''sendSimpleCommand''' "command" |= Syntax
| [[Object#Vehicle|Vehicle]] '''sendSimpleCommand''' "command" |= Syntax


|p1=  command: [[String]]  
|p1=  command: [[String]]  

Revision as of 04:54, 30 August 2007

-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:
Vehicle sendSimpleCommand "command"
Parameters:
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.

Bottom Section