BIS fnc spotter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|1.50 | |version1= 1.50 | ||
|game2= tkoh | |game2= tkoh | ||
Line 14: | Line 14: | ||
|gr2= Combat | |gr2= Combat | ||
| | |descr= Make spotter report target distance to sniper. Will only stop if one of the two units dies. | ||
|s1=[sniper, spotter] call [[BIS_fnc_spotter]] | |s1= [sniper, spotter] call [[BIS_fnc_spotter]] | ||
|p1= sniper: [[Object]] sniper unit | |p1= sniper: [[Object]] sniper unit | ||
Line 25: | Line 25: | ||
|x1= <code>[<nowiki/>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code> | |x1= <code>[<nowiki/>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code> | ||
|seealso= | |||
}} | }} | ||
Revision as of 18:17, 13 June 2021
Description
- Description:
- Make spotter report target distance to sniper. Will only stop if one of the two units dies.
- Execution:
- call
- Groups:
- Object ManipulationCombat
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