doWatch

From Bohemia Interactive Community
Revision as of 09:51, 27 August 2007 by Mikero (talk | contribs) (changed global to local variable to make clear the variable)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Order the given unit(s) to watch the given position or target (without radio messages).
Groups:
Uncategorised

Syntax

Syntax:
Unit(s) doWatch position
Parameters:
Unit(s)
Position
Return Value:
Nothing

Alternative Syntax

Syntax:
Unit(s) doWatch target
Parameters:
Unit(s)
target: Object
Return Value:
Nothing

Examples

Example 1:
_soldierOne doWatch markerPos "MarkerMoveOne" The unit named "soldierOne" will watch the position where the marker "MarkerMoveOne" is placed.
Example 2:
_soldierOne doWatch _eastSoldier The unit named "soldierOne" will watch the unit named "eastSoldier".

Additional Information

See also:
commandWatch

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