BIS fnc spotter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
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 00:44, 17 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

Notes

Bottom Section