Difference between revisions of "VN ms fnc tracker positionVisible"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (1 revision imported) |
Lou Montana (talk | contribs) (Page filling) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Wyqer, veteran29 |
+ | |||
+ | |a= global | ||
|e= | |e= | ||
Line 10: | Line 11: | ||
|g1= tracker | |g1= tracker | ||
− | |d= | + | |d= Checks if position is visible for any of unit in group. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [units, pos] call [[VN_ms_fnc_tracker_positionVisible]] |
− | |p1n= | + | |p1n= units |
− | |p1t= | + | |p1t= array |
− | |p1d= | + | |p1d= units to check |
|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;