calculatePlayerVisibilityByFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (version)
m (Some wiki formatting)
 
(16 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
____________________________________________________________________________________________


| Friendly units will / will not calculate visibility of player. Default [[false]].|DESCRIPTION=
|descr= Sets if friendly units will calculate [[player]]'s visibility or not. Default value is [[false]].
____________________________________________________________________________________________


| '''calculatePlayerVisibilityByFriendly'''|SYNTAX=
|s1= [[calculatePlayerVisibilityByFriendly]] calculate


| [[Nothing]] |RETURNVALUE=
|p1= calculate: [[Boolean]]


|r1= [[Nothing]]


|x1= <code>[[calculatePlayerVisibilityByFriendly]] [[true]];</code>|EXAMPLE1=
|x1= <sqf>calculatePlayerVisibilityByFriendly true;</sqf>


____________________________________________________________________________________________
|seealso= [[getCalculatePlayerVisibilityByFriendly]] [[knowsAbout]]
 
|  
[[getCalculatePlayerVisibilityByFriendly]]
 
|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>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 23:23, 3 May 2022

Hover & click on the images for description

Description

Description:
Sets if friendly units will calculate player's visibility or not. Default value is false.
Groups:
System

Syntax

Syntax:
calculatePlayerVisibilityByFriendly calculate
Parameters:
calculate: Boolean
Return Value:
Nothing

Examples

Example 1:
calculatePlayerVisibilityByFriendly true;

Additional Information

See also:
getCalculatePlayerVisibilityByFriendly 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