getCalculatePlayerVisibilityByFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(( \[\[[a-zA-Z0-9]+\]\])+) \}\}" to "|seealso= $1 }}")
m (Some wiki formatting)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
 
|version1= 1.84
|1.84


|gr1= System
|gr1= System


| Returns [[true]] if visibility of [[player]] by friendly units is calculated.
|descr= Returns [[true]] if visibility of [[player]] by friendly units is calculated.


| '''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