doWatch: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Order the given unit to watch at the given position or target (without radio messages).. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''doWatch''' position |= Syntax | | unit '''doWatch''' position |= Syntax | ||
|p1= unit: [[Object]] or [[Array]] |=Parameter 1 | |p1= unit: [[Object]] or [[Array]] |= Parameter 1 | ||
|p2= position: [[Position]] |=Parameter 2 | |p2= position: [[Position]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>soldierOne doWatch getMarkerPos "MarkerMoveOne"</pre> | =Example 1 | |s2= unit '''doWatch''' target |= Syntax 2 | ||
|p21= unit: [[Object]] or [[Array]] |= Parameter 1 | |||
|p22= target: [[Object]] |= Parameter 2 | |||
|r2= [[Nothing]] |= Return value 2 | |||
____________________________________________________________________________________________ | |||
|x1= <pre>soldierOne doWatch getMarkerPos "MarkerMoveOne" | |||
soldierOne doWatch eastSoldier</pre> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[commandWatch]] |= See also | ||
}} | }} |
Revision as of 12:15, 2 August 2006
Description
- Description:
- Order the given unit to watch at the given position or target (without radio messages)..
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit doWatch position
- Parameters:
- unit: Object or Array
- position: Position
- Return Value:
- Nothing
Alternative Syntax
Examples
- Example 1:
soldierOne doWatch getMarkerPos "MarkerMoveOne" soldierOne doWatch 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