showWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added description, formatting syntax/example, see also)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(39 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


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


| Sets the condition determining when the waypoint is shown.
|game3= arma2oa
|version3= 1.50


<br>Possible values are:
|game4= tkoh
* "NEVER" - never show it
|version4= 1.00
* "EASY" - show only in cadet mode
* "ALWAYS" - always show it |= Description
____________________________________________________________________________________________


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


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


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


| [[Nothing]] |= Return value
|s1= waypoint [[showWaypoint]] show
____________________________________________________________________________________________
 
|x1= <code>[_grp, 2] [[showWaypoint]] "ALWAYS";</code> |= Example 1
____________________________________________________________________________________________


| [[waypointShow]] |= See also
|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]]
[[Category:Scripting Commands ArmA|SHOWWAYPOINT]]
[[Category:Command_Group:_Waypoints|SHOWWAYPOINT]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

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