Description
Return CfgWaypoints type of scripted waypoint. Returns empty string/config when waypoint is not scripted Returns "Custom"/CfgWaypoints root when waypoint is using custom script.
Syntax
[waypoint,type] call BIS_fnc_scriptedWaypointType
Parameters:
waypoint: Array - waypoint in questiontype: String or Config - (Optional, default configFile) type of returned value, can by any string and any config
Returns: String or Config - string in format ("category/class") or config in format (CfgWaypoints path)
Examples
Example 1
[BIS_scripted_WP_01,"returnString"] call BIS_fnc_scriptedWaypointType;