BIS_fnc_scriptedWaypointType

From Bohemia Interactive Community
Revision as of 16:35, 8 November 2023 by Lou Montana (talk | contribs) (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *W([a-z ])" to "$1 - w$2")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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.
Execution:
call
Groups:
Waypoints

Syntax

Syntax:
[waypoint,type] call BIS_fnc_scriptedWaypointType
Parameters:
waypoint: Array - waypoint in question
type: String or Config - (Optional, default configFile) type of returned value, can by any string and any config
Return Value:
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;

Additional Information

See also:
Waypoints Custom Waypoints

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note