commandWatch: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|COMMANDWATCH]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|COMMANDWATCH]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|COMMANDWATCH]]
 
[[Category:Scripting Commands ArmA|COMMANDWATCH]]
| ofp |= Game name


|1.00|= Game version


<h2 style="color:#000066"> '''''unit'' commandWatch ''position'''''</h2>
|arg= local |= Arguments in MP
____________________________________________________________________________________________


| Order the given unit to watch at the given position (via the radio). |= Description
____________________________________________________________________________________________


'''Operand types:'''
| unit '''commandWatch''' target |= Syntax


'''unit:''' [[Object]] or [[Array]]
|p1= unit: [[Object]] |= Parameter 1


'''position:''' [[Array]]
|p2= target: [[Position]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>ESoldier1 commandWatch (position WSoldier1)</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
| [[doWatch]] |= See also


'''Description:'''
}}


Order unit to watch given '''position''' (format [[Position]]) (via radio).
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>


soldierOne '''commandWatch''' [[getMarkerPos]] "MarkerMoveOne"
[[Category:Scripting Commands|COMMANDWATCH]]
[[Category:Scripting Commands OFP 1.96|COMMANDWATCH]]
[[Category:Scripting Commands OFP 1.46|COMMANDWATCH]]
[[Category:Scripting Commands ArmA|COMMANDWATCH]]

Revision as of 23:58, 1 August 2006

Hover & click on the images for description

Description

Description:
Order the given unit to watch at the given position (via the radio).
Groups:
Uncategorised

Syntax

Syntax:
unit commandWatch target
Parameters:
unit: Object
target: Position
Return Value:
Nothing

Examples

Example 1:
ESoldier1 commandWatch (position WSoldier1)

Additional Information

See also:
doWatch

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