getCalculatePlayerVisibilityByFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Some wiki formatting)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


|arma3|Game name=
|game1= arma3
|version1= 1.84


|1.84|Game version=
|gr1= System


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


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


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


| [[Boolean]] - [[true]] visibility is calculated, [[false]] if not |RETURNVALUE=
|x1= <sqf>
if (!getCalculatePlayerVisibilityByFriendly) then
{
calculatePlayerVisibilityByFriendly true;
};
</sqf>


 
|seealso= [[calculatePlayerVisibilityByFriendly]] [[knowsAbout]]
|x1= <code>_isCalculated = [[getCalculatePlayerVisibilityByFriendly]];</code>|EXAMPLE1=
 
 
|
[[calculatePlayerVisibilityByFriendly]]
 
|SEEALSO=
|  |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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