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 (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|version1= 1.00


|1.00
|game2= arma2
|version2= 1.00


|gr1= Waypoints
|game3= arma2oa
|version3= 1.50


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


| waypoint '''showWaypoint''' show
|game5= arma3
|version5= 0.50


|p1= waypoint: [[Array]] - format [[Waypoint]]
|gr1= Waypoints


|p2= show: [[String]] - see description
|descr= Defines how waypoints are shown to the player in map view. For 3D HUD visibility see [[setWaypointVisible]].


| [[Nothing]]
|s1= waypoint [[showWaypoint]] show
 
|x1= <code>[_grp, 2] [[showWaypoint]] "ALWAYS";</code>


|seealso= [[waypointShow]]
|p1= waypoint: [[Waypoint]]
}}


|p2= show: [[String]] - possible values are:
* "NEVER" - Never show
* "EASY" - Show only if {{hl|showCadetWP}} is enabled in global [[Arma 3: Difficulty Settings|difficulty]].
* "ALWAYS" - Always show


{{GameCategory|ofpe|Scripting Commands}}
|r1= [[Nothing]]
{{GameCategory|arma1|Scripting Commands}}


|x1= <sqf>[_grp, 2] showWaypoint "ALWAYS";</sqf>


{{GameCategory|arma2|Scripting Commands}}
|seealso= [[waypointShow]]
{{GameCategory|arma3|Scripting Commands}}
}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 15:45, 8 November 2023

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