get3DENLinesVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <!-- DISCONTINUE Notes -->" to "")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|arma3
|game1= arma3
|version1= 1.56


|1.56
|gr1= Eden Editor


|gr1= Eden Editor
|descr= Get visibility state of [[:Category:Eden Editor|Eden Editor]] lines.


| Get visibility state of [[Eden Editor]] lines.
|s1= [[get3DENLinesVisible]]


| '''get3DENLinesVisible'''
|r1= [[Array]] in format [showMap, showScene]
| [[Array]] in format [showMap, showScene]
* showScene: [[Boolean]] - visibility in the scene
* showScene: [[Boolean]] - visibility in the scene
* showMap : [[Boolean]] - visibility in the map
* showMap : [[Boolean]] - visibility in the map


|x1= <sqf>if (get3DENLinesVisible select 0) then { hint "Lines are visible in the map."; };</sqf>


|x1= <code>[[if]] ([[get3DENLinesVisible]] [[select]] 0) [[then]] {[[hint]] "Lines are visible in the map.";};</code>
|seealso= [[set3DENLinesVisible]] [[set3DENIconsVisible]] [[get3DENIconsVisible]] [[set3DENModelsVisible]]
 
|
[[set3DENLinesVisible]]
[[set3DENIconsVisible]]
[[get3DENIconsVisible]]
 
|
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13:27, 9 July 2023

Hover & click on the images for description

Description

Description:
Get visibility state of Eden Editor lines.
Groups:
Eden Editor

Syntax

Syntax:
get3DENLinesVisible
Return Value:
Array in format [showMap, showScene]
  • showScene: Boolean - visibility in the scene
  • showMap : Boolean - visibility in the map

Examples

Example 1:
if (get3DENLinesVisible select 0) then { hint "Lines are visible in the map."; };

Additional Information

See also:
set3DENLinesVisible set3DENIconsVisible get3DENIconsVisible set3DENModelsVisible

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