calculatePlayerVisibilityByFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
m (Some wiki formatting)
 
(13 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_List}}
[[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