calculatePlayerVisibilityByFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Some wiki formatting)
 
(11 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= Sets if friendly units will calculate [[player]]'s visibility or not. Default value is [[false]].
____________________________________________________________________________________________


| Friendly units will / will not calculate visibility of player. Default [[false]]. |DESCRIPTION=
|s1= [[calculatePlayerVisibilityByFriendly]] calculate
____________________________________________________________________________________________


| [[calculatePlayerVisibilityByFriendly]] calculate |SYNTAX=
|p1= calculate: [[Boolean]]


|p1= calculate: [[Boolean]] |Parameter 1=
|r1= [[Nothing]]


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>calculatePlayerVisibilityByFriendly true;</sqf>


|x1= <code>[[calculatePlayerVisibilityByFriendly]] [[true]];</code> |EXAMPLE1=
|seealso= [[getCalculatePlayerVisibilityByFriendly]] [[knowsAbout]]
____________________________________________________________________________________________
 
| [[getCalculatePlayerVisibilityByFriendly]], [[knowsAbout]] |SEEALSO=
}}
}}
<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 00:23, 4 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