commandWatch: Difference between revisions

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


| Order the given unit to watch at the given position (via the radio). |= Description
| Orders the unit to watch the given position (format [[Position]]) (via the radio). |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''commandWatch''' target |= Syntax
| '''''unit'' commandWatch ''position''''' |= Syntax


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


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


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>ESoldier1 commandWatch (position WSoldier1)</pre> |= Example 1
|x1= <code>soldierOne '''commandWatch''' [[getMarkerPos]] "MarkerMoveOne"
</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 01:53, 8 August 2006

Hover & click on the images for description

Description

Description:
Orders the unit to watch the given position (format Position) (via the radio).
Groups:
Uncategorised

Syntax

Syntax:
unit commandWatch position
Parameters:
unit: Object or Array
position: Array
Return Value:
Nothing

Examples

Example 1:
soldierOne commandWatch getMarkerPos "MarkerMoveOne"

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