showWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 7: Line 6:


|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=
____________________________________________________________________________________________


| Sets the condition determining if the given waypoint is shown on the map view (for 3D HUD visibility see [[setWaypointVisible]]). Possible values are:
| Sets the condition determining if the given waypoint is shown on the map view (for 3D HUD visibility see [[setWaypointVisible]]). Possible values are:
Line 13: Line 11:
* "EASY" - show only if <tt>showCadetWP</tt> is enabled in global [[Arma_3_Difficulty_Menu | difficulty]].
* "EASY" - show only if <tt>showCadetWP</tt> is enabled in global [[Arma_3_Difficulty_Menu | difficulty]].
* "ALWAYS" - always show it |DESCRIPTION=
* "ALWAYS" - always show it |DESCRIPTION=
____________________________________________________________________________________________


| waypoint '''showWaypoint''' show |SYNTAX=
| waypoint '''showWaypoint''' show |SYNTAX=
Line 22: Line 19:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[_grp, 2] [[showWaypoint]] "ALWAYS";</code> |EXAMPLE1=
|x1= <code>[_grp, 2] [[showWaypoint]] "ALWAYS";</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[waypointShow]] |SEEALSO=
| [[waypointShow]] |SEEALSO=

Revision as of 03:54, 17 January 2021

Hover & click on the images for description

Description

Description:
Sets the condition determining if the given waypoint is shown on the map view (for 3D HUD visibility see setWaypointVisible). Possible values are:
  • "NEVER" - never show it
  • "EASY" - show only if showCadetWP is enabled in global difficulty.
  • "ALWAYS" - always show it
Groups:
Waypoints

Syntax

Syntax:
waypoint showWaypoint show
Parameters:
waypoint: Array - format Waypoint
show: String - see description
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

Notes

Bottom Section