Difference between revisions of "VN ms fnc tracker positionVisible"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[vn_" to "[[VN_") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |a= | + | |a= global |
|e= | |e= | ||
Line 12: | Line 11: | ||
|g1= tracker | |g1= tracker | ||
− | |d= | + | |d= Checks if position is visible for any of unit in group. |
− | |||
− | |||
− | + | |s= [units, pos] call [[VN_ms_fnc_tracker_positionVisible]] | |
− | |||
− | + | |p1n= units | |
− | + | |p1t= array | |
− | + | |p1d= units to check | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |p1n= | ||
− | |p1t= | ||
− | |p1d= | ||
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= pos |
− | |p2t= | + | |p2t= positionASL |
− | |p2d= | + | |p2d= position to check |
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= the position is visible by one of the units |
− | |x1= <code> | + | |x1= <code>[units sogGroup, getPosASL crashSite] call [[VN_ms_fnc_tracker_positionVisible]];</code> |
}} | }} |
Latest revision as of 16:05, 26 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Checks if position is visible for any of unit in group.
Syntax
- Syntax
- [units, pos] call VN_ms_fnc_tracker_positionVisible
- Parameters
- units: Array - units to check
- pos: PositionASL - position to check
- Return value
- Boolean - the position is visible by one of the units
Examples
- Example 1
[units sogGroup, getPosASL crashSite] call VN_ms_fnc_tracker_positionVisible;