{"name":"BIS_fnc_scriptedWaypointType","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","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Return CfgWaypoints type of scripted waypoint.\nReturns empty string/config when waypoint is not scripted\nReturns \"Custom\"/CfgWaypoints root when waypoint is using custom script.","syntaxes":[{"syntax":"[waypoint,type] call BIS_fnc_scriptedWaypointType","params":[{"name":"waypoint","type":"Array","description":"waypoint in question","type_expr":"Array"},{"name":"type","type":"String or Config","optional":true,"default":"configFile","description":"type of returned value, can by any string and any config","type_expr":"String | Config","text":"type: String or Config - (Optional, default configFile) type of returned value, can by any string and any config"}],"returns":{"type":"String or Config","type_expr":"String | Config","description":"string in format (\"category/class\") or config in format (CfgWaypoints path)"}}],"examples":[{"code":["[BIS_scripted_WP_01,\"returnString\"] call BIS_fnc_scriptedWaypointType;"]}],"see_also":["Waypoints","Custom Waypoints"]}