waypointShow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|game2= arma2oa |version2= 1.51 " to "|game2= arma2oa |version2= 1.50 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma2
|game1= arma2
|version1= 1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
|version2= 1.50
|version2= 1.50


|game3= tkoh
|game3= tkoh
|version3= 1.00
|version3= 1.00


|game4= arma3
|game4= arma3
|version4= 0.50
|version4= 0.50


Line 21: Line 17:
|descr= A getter for [[showWaypoint]] command.
|descr= A getter for [[showWaypoint]] command.


|s1= '''waypointShow''' waypoint
|s1= [[waypointShow]] waypoint


|p1= waypoint: [[Array]] - In format [[Waypoint]]
|p1= waypoint: [[Array]] - in format [[Waypoint]]


|r1= [[String]] - Can return:
|r1= [[String]] - can return:
* "NEVER" - Never show
* "NEVER" - Never show
* "EASY" - Show only in cadet mode
* "EASY" - Show only in cadet mode
Line 31: Line 27:
* "ERROR" - When set to any different string  
* "ERROR" - When set to any different string  


|x1= <code>_wpShow = [[waypointShow]] [groupOne, 1];</code>
|x1= <sqf>_wpShow = waypointShow [groupOne, 1];</sqf>


|seealso= [[showWaypoint]], [[waypoints]], [[waypointVisible]], [[setWaypointVisible]]
|seealso= [[showWaypoint]] [[waypoints]] [[waypointVisible]] [[setWaypointVisible]]
}}
}}

Latest revision as of 16:33, 8 November 2023

Hover & click on the images for description

Description

Description:
A getter for showWaypoint command.
Groups:
Waypoints

Syntax

Syntax:
waypointShow waypoint
Parameters:
waypoint: Array - in format Waypoint
Return Value:
String - can return:
  • "NEVER" - Never show
  • "EASY" - Show only in cadet mode
  • "ALWAYS" - Always show
  • "ERROR" - When set to any different string

Examples

Example 1:
_wpShow = waypointShow [groupOne, 1];

Additional Information

See also:
showWaypoint waypoints waypointVisible setWaypointVisible

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