BIS fnc spotter: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Fix execution) |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
|gr2= Combat | |gr2= Combat | ||
|exec= spawn | |||
|descr= Make spotter report target distance to sniper. Will only stop if one of the two units dies. | |descr= Make spotter report target distance to sniper. Will only stop if one of the two units dies. | ||
|s1= [sniper, spotter] | |s1= [sniper, spotter] spawn [[BIS_fnc_spotter]] | ||
|p1= sniper: [[Object]] sniper unit | |p1= sniper: [[Object]] - sniper unit | ||
|p2= spotter: [[Object]] - spotter unit | |p2= spotter: [[Object]] - spotter unit | ||
Line 24: | Line 26: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>[player, | |x1= <sqf>[player, spotter] spawn BIS_fnc_spotter;</sqf> | ||
|seealso= | |seealso= | ||
}} | }} |
Latest revision as of 10:26, 28 June 2023
Description
- Description:
- Make spotter report target distance to sniper. Will only stop if one of the two units dies.
- Execution:
- spawn
- Groups:
- Object ManipulationCombat
Syntax
- Syntax:
- [sniper, spotter] spawn BIS_fnc_spotter
- Parameters:
- sniper: Object - sniper unit
- spotter: Object - spotter unit
- Return Value:
- Nothing
Examples
- Example 1:
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