{"name":"BIS_fnc_scriptedWaypointType","operator":null,"title":"BIS fnc scriptedWaypointType","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_scriptedWaypointType","revid":349365,"updated":"2023-11-08T15:35:11Z","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":"Return CfgWaypoints type of scripted waypoint.\n\tReturns empty string/config when waypoint is not scripted\n\tReturns \"Custom\"/CfgWaypoints root when waypoint is using custom script.","syntaxes":[{"syntax":"[waypoint,type] call BIS_fnc_scriptedWaypointType","since":null,"effect":null,"exec":null,"params":[{"name":"waypoint","type":"Array","optional":false,"default":null,"description":"waypoint in question","types":["Array"],"since":null,"text":"waypoint: Array - waypoint in question"},{"name":"type","type":"String or Config","optional":true,"default":"configFile","description":"type of returned value, can by any string and any config","types":["String","Config"],"since":null,"text":"type: String or Config - (Optional, default configFile) type of returned value, can by any string and any config"}],"returns":{"type":"String or Config","types":["String","Config"],"description":"string in format (\"category/class\") or config in format (CfgWaypoints path)","text":"String or Config - string in format (\"category/class\") or config in format (CfgWaypoints path)"}}],"examples":[{"text":"```sqf\n[BIS_scripted_WP_01,\"returnString\"] call BIS_fnc_scriptedWaypointType;\n```","code":["[BIS_scripted_WP_01,\"returnString\"] call BIS_fnc_scriptedWaypointType;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Waypoints","Custom Waypoints"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Waypoints","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}