showWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(54 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SHOWWAYPOINT]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |SHOWWAYPOINT]]
[[Category:Scripting Commands ArmA|SHOWWAYPOINT]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">'''''waypoint'' showWaypoint ''show'''''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


'''waypoint:''' [[Array]]
|game5= arma3
|version5= 0.50


'''show:''' [[String]]
|gr1= Waypoints


'''Type of returned value:'''
|descr= Defines how waypoints are shown to the player in map view. For 3D HUD visibility see [[setWaypointVisible]].


[[Nothing]]
|s1= waypoint [[showWaypoint]] show


'''Compatibility:'''
|p1= waypoint: [[Waypoint]]


Version 1.86 required.
|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


'''Description:'''
|r1= [[Nothing]]


Sets the condition determining when the waypoint is shown.
|x1= <sqf>[_grp, 2] showWaypoint "ALWAYS";</sqf>


Possible values are: "NEVER", "EASY" and "ALWAYS".
|seealso= [[waypointShow]]
 
}}
 
'''Example:'''
 
[grp, 2] '''showWaypoint''' "ALWAYS"

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