getCalculatePlayerVisibilityByFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Some wiki formatting)
 
(20 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_List}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 00:25, 4 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