BIS fnc spotter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "^ \{\{(Command|Function)" to "{{$1") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma2oa | | arma2oa | ||
|1.00|= Game version | |1.00|= Game version | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|gr2= Combat | |gr2= Combat | ||
| 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]] | | [sniper, spotter] call [[BIS_fnc_spotter]] | ||
|p1= sniper: [[Object]] sniper unit | |p1= sniper: [[Object]] sniper unit | ||
|p2= spotter: [[Object]] - spotter unit | |p2= spotter: [[Object]] - spotter unit | ||
| [[Nothing]] | | [[Nothing]] | ||
|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 23:44, 17 January 2021
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