waypointShow: Difference between revisions

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