BIS fnc spotter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
||
Line 24: | Line 24: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>[player, unitSpotter] call | |x1= <code>[player, unitSpotter] call BIS_fnc_spotter;</code> | ||
|seealso= | |seealso= | ||
}} | }} |
Revision as of 16:56, 13 July 2022
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