waypointShow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(7 intermediate revisions by the same user not shown)
Line 17: 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 27: 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 15: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