BIS fnc spotter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 11: Line 11:
|  Make spotter report target distance to sniper. Will only stop if one of the two units dies.
|  Make spotter report target distance to sniper. Will only stop if one of the two units dies.


| [sniper, spotter] call [[BIS_fnc_spotter]]
|s1=[sniper, spotter] call [[BIS_fnc_spotter]]


|p1= sniper: [[Object]] sniper unit
|p1= sniper: [[Object]] sniper unit

Revision as of 16:59, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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