showWaypoint: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(52 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


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


| Sets the condition determining when the waypoint is shown. Possible values are: "NEVER", "EASY" and "ALWAYS". |= Description
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| waypoint '''showWaypoint''' show |= Syntax
|game4= tkoh
|version4= 1.00


|p1= waypoint: [[Array]] |= Parameter 1
|game5= arma3
|version5= 0.50


|p2= show: [[String]] |= Parameter 2
|gr1= Waypoints


| [[Nothing]] |= Return value
|descr= Defines how waypoints are shown to the player in map view. For 3D HUD visibility see [[setWaypointVisible]].
____________________________________________________________________________________________
 
|x1= <pre>[grp, 2] showWaypoint "ALWAYS"</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|s1= waypoint [[showWaypoint]] show


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

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