BIS fnc spotter: Difference between revisions
Jump to navigation
Jump to search
(Typo) |
Lou Montana (talk | contribs) (Page filling - missing see also - game version to check) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Make spotter report target distance to sniper. |= Description | ||
____________________________________________________________________________________________ | |||
| [sniper, spotter] call [[BIS_fnc_spotter]] |= Syntax | |||
|p1= sniper: [[Object]] sniper unit |= Parameter 1 | |||
|p2= spotter: [[Object]] - spotter unit |= Parameter 2 | |||
| | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code><nowiki>[</nowiki>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | |= See also | ||
}} | }} | ||
Revision as of 19:14, 26 April 2018
Description
- Description:
- Make spotter report target distance to sniper.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [sniper, spotter] call BIS_fnc_spotter
- Parameters:
- sniper: Object sniper unit
- spotter: Object - spotter unit
- Return Value:
- Nothing
Examples
- Example 1:
[player, unitSpotter] call BIS_fnc_spotter;
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