sendSimpleCommand: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SENDSIMPLECOMMAND]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SENDSIMPLECOMMAND]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SENDSIMPLECOMMAND]]


| arma |= Game name


<h2 style="color:#000066">'''''object'' sendSimpleCommand ''command'''''</h2>
|2.26|= Game version
____________________________________________________________________________________________


| Sends a simple command to the vehicle's driver / gunner. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| object '''sendSimpleCommand''' command |= Syntax


'''object:''' [[Object]]
|p1= object: [[Object]] |= Parameter 1


'''command:''' [[String]]
|p2= command: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>vehicle player sendSimpleCommand "STOP"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.26 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Sends a simple command to the vehicle's driver / gunner.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SENDSIMPLECOMMAND]]
 
[[Category:Scripting Commands OFP Elite |SENDSIMPLECOMMAND]]
'''Example:'''
[[Category:Scripting Commands ArmA|SENDSIMPLECOMMAND]]
 
vehicle player '''sendSimpleCommand''' "STOP"

Revision as of 23:03, 1 August 2006

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

Description

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

Syntax

Syntax:
object sendSimpleCommand command
Parameters:
object: 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

Bottom Section