showWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma1 |Game name=
|game1= arma1
|version1= 1.00


|1.00|Game version=
|game2= arma2
|version2= 1.00


|gr1= Waypoints |GROUP1=
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


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


| waypoint '''showWaypoint''' show |SYNTAX=
|game5= arma3
|version5= 0.50


|p1= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=
|gr1= Waypoints


|p2= show: [[String]] - see description |PARAMETER2=
|descr= Defines how waypoints are shown to the player in map view. For 3D HUD visibility see [[setWaypointVisible]].


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


| [[waypointShow]] |SEEALSO=
|p1= waypoint: [[Waypoint]]


}}
|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


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>[_grp, 2] showWaypoint "ALWAYS";</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[waypointShow]]
[[Category:Scripting Commands|SHOWWAYPOINT]]
}}
[[Category:Scripting Commands OFP Elite |SHOWWAYPOINT]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Command_Group:_Waypoints|SHOWWAYPOINT]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 16: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