getCalculatePlayerVisibilityByFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
|descr= Returns [[true]] if visibility of [[player]] by friendly units is calculated.
|descr= Returns [[true]] if visibility of [[player]] by friendly units is calculated.


|s1= '''getCalculatePlayerVisibilityByFriendly'''
|s1= [[getCalculatePlayerVisibilityByFriendly]]


|r1=[[Boolean]] - [[true]] visibility is calculated, [[false]] if not
|r1= [[Boolean]] - [[true]] if visibility is calculated, [[false]] if not


|x1= <code>_isCalculated = [[getCalculatePlayerVisibilityByFriendly]];</code>
|x1= <sqf>
if (!getCalculatePlayerVisibilityByFriendly) then
{
calculatePlayerVisibilityByFriendly true;
};
</sqf>


|seealso=  
|seealso= [[calculatePlayerVisibilityByFriendly]] [[knowsAbout]]
[[calculatePlayerVisibilityByFriendly]]
}}
}}

Latest revision as of 23:25, 3 May 2022

Hover & click on the images for description

Description

Description:
Returns true if visibility of player by friendly units is calculated.
Groups:
System

Syntax

Syntax:
getCalculatePlayerVisibilityByFriendly
Return Value:
Boolean - true if visibility is calculated, false if not

Examples

Example 1:
if (!getCalculatePlayerVisibilityByFriendly) then { calculatePlayerVisibilityByFriendly true; };

Additional Information

See also:
calculatePlayerVisibilityByFriendly knowsAbout

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