BIS fnc spotter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Typo)
(Page filling - missing see also - game version to check)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>
| Make spotter report target distance to sniper. |= Description
/*
____________________________________________________________________________________________
File: fn_spotter.sqf


Description:
| [sniper, spotter] call [[BIS_fnc_spotter]] |= Syntax
Spotter reporting target distance to sniper.


Parameter(s):
|p1= sniper: [[Object]] sniper unit |= Parameter 1
_this: OBJECT - sniper
OBJECT - spotter


Returns:
|p2= spotter: [[Object]] - spotter unit |= Parameter 2
Nothing
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_spotter]]; --> |= Syntax
| [[Nothing]] |= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code><nowiki>[</nowiki>[[player]], unitSpotter] [[call]] [[BIS_fnc_spotter]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| |= See also
}}
}}



Revision as of 19:14, 26 April 2018


Hover & click on the images for description

Description

Description:
Make spotter report target distance to sniper.
Execution:
call
Groups:
Uncategorised

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