showWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Arma 3: Difficulty Menu | difficulty]" to "[[Arma 3: Difficulty Settings| difficulty]")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1


|1.00
|version1= 1.00
 
|game2= arma2
 
|version2= 1.00
 
|game3= arma2oa
 
|version3= 1.51
 
|game4= tkoh
 
|version4= 1.00
 
|game5= arma3
 
|version5= 0.50


|gr1= Waypoints
|gr1= Waypoints


| Sets the condition determining if the given waypoint is shown on the map view (for 3D HUD visibility see [[setWaypointVisible]]). Possible values are:
|descr= Defines how waypoints are shown to the player in map view. For 3D HUD visibility see [[setWaypointVisible]].
* "NEVER" - never show it
* "EASY" - show only if <tt>showCadetWP</tt> is enabled in global [[Arma 3: Difficulty Settings| difficulty]].
* "ALWAYS" - always show it


| waypoint '''showWaypoint''' show


|p1= waypoint: [[Array]] - format [[Waypoint]]
|s1= waypoint '''showWaypoint''' show


|p2= show: [[String]] - see description
|p1= waypoint: [[Waypoint]]


| [[Nothing]]
|p2= show: [[String]] - Possible values are:
* "NEVER" - Never show
* "EASY" - Show only if <tt>showCadetWP</tt> is enabled in global [[Arma 3: Difficulty Settings|difficulty]].
* "ALWAYS" - Always show
 
|r1= [[Nothing]]
   
   
|x1= <code>[_grp, 2] [[showWaypoint]] "ALWAYS";</code>
|x1= <code>[_grp, 2] [[showWaypoint]] "ALWAYS";</code>
Line 24: Line 41:
|seealso= [[waypointShow]]
|seealso= [[waypointShow]]
}}
}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 01:09, 30 March 2021

Hover & click on the images for description

Description

Description:
Defines how waypoints are shown to the player in map view. For 3D HUD visibility see setWaypointVisible.
Groups:
Waypoints

Syntax

Syntax:
waypoint showWaypoint show
Parameters:
waypoint: Waypoint
show: String - Possible values are:
  • "NEVER" - Never show
  • "EASY" - Show only if showCadetWP is enabled in global difficulty.
  • "ALWAYS" - Always show
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] showWaypoint "ALWAYS";

Additional Information

See also:
waypointShow

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