---
name: "BIS_fnc_scriptedWaypointType"
type: function
status: ok
groups: ["Waypoints"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_scriptedWaypointType
revid: 349365
updated: 2023-11-08T15:35:11Z
---

# BIS_fnc_scriptedWaypointType

*Function · Waypoints · Arma 3 v1.00*

## 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

```sqf
[waypoint,type] call BIS_fnc_scriptedWaypointType
```

**Parameters:**

- `waypoint`: [Array](../topics/Array.md) - waypoint in question
- `type`: [String](../topics/String.md) or [Config](../topics/Config.md) - (Optional, default [configFile](../commands/configFile.md)) type of returned value, can by any string and any config

**Returns:** [String](../topics/String.md) or [Config](../topics/Config.md) - string in format ("category/class") or config in format (CfgWaypoints path)

## Examples

### Example 1

```sqf
[BIS_scripted_WP_01,"returnString"] call BIS_fnc_scriptedWaypointType;
```

## See also

Waypoints · Custom Waypoints

<sub>Source: [BI Community Wiki — BIS fnc scriptedWaypointType](https://community.bistudio.com/wiki/BIS_fnc_scriptedWaypointType) (revision 349365).</sub>
