{"name":"showWaypoints","operator":null,"title":"showWaypoints","type":"command","url":"https://community.bistudio.com/wiki/showWaypoints","revid":329411,"updated":"2022-07-27T15:11:51Z","groups":["Waypoints"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Shows/Hides task HUD markers and waypoints that will fade out in time. Dependable on difficulty settings.","syntaxes":[{"syntax":"showWaypoints enabled","since":null,"effect":null,"exec":null,"params":[{"name":"enabled","type":"Boolean","optional":false,"default":null,"description":null,"types":["Boolean"],"since":null,"text":"enabled: Boolean"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"enabled","types":["Boolean"]}}],"examples":[{"text":"```sqf\nshowWaypoints true;\n```","code":["showWaypoints true;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["showWaypoint","waypointShow"],"notes":[{"user":"PierreMGI","date":"2020-05-27T07:20:00Z","text":"Even if you set your difficulty with \"waypoints: hide\", if you are using addWaypoint command for player, you will see your waypoints displayed on map, with the track to follow.\nSome other cases using addWaypoint will allow this unexpected behaviour on map and the code `showWaypoints false;` will not change anything for map.\n\nYou need to use showWaypoint command instead, on each added waypoints:\n\n```sqf\n_wp = group player addWaypoint [getMarkerPos \"aMarker\", 0];\n_wp showWaypoint \"NEVER\";\n```"}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Waypoints","Introduced with Arma 3 version 1.00","Scripting Commands"]}