BIS fnc spotter: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2oa |Game name= | | arma2oa |Game name= | ||
Line 10: | Line 9: | ||
|gr2= Combat |GROUP2= | |gr2= Combat |GROUP2= | ||
| Make spotter report target distance to sniper. Will only stop if one of the two units dies. |DESCRIPTION= | | Make spotter report target distance to sniper. Will only stop if one of the two units dies. |DESCRIPTION= | ||
| [sniper, spotter] call [[BIS_fnc_spotter]] |SYNTAX= | | [sniper, spotter] call [[BIS_fnc_spotter]] |SYNTAX= | ||
Line 22: | Line 19: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code><nowiki>[</nowiki>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code> |EXAMPLE1= | |x1= <code><nowiki>[</nowiki>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code> |EXAMPLE1= | ||
| |SEEALSO= | | |SEEALSO= |
Revision as of 23:44, 16 January 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