BIS fnc spotter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - "(\| )+\}\}" to "}}")
Line 21: Line 21:
|x1= <code><nowiki>[</nowiki>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code>
|x1= <code><nowiki>[</nowiki>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code>


|
}}
}}



Revision as of 15:03, 18 January 2021

Hover & click on the images for description

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