BIS fnc scriptedWaypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
Line 11: Line 11:
Returns "Custom"/CfgWaypoints root when waypoint is using custom script.
Returns "Custom"/CfgWaypoints root when waypoint is using custom script.


| [waypoint,type] call [[BIS_fnc_scriptedWaypointType]]
|s1=[waypoint,type] call [[BIS_fnc_scriptedWaypointType]]


|p1=waypoint: [[Array]] - Waypoint in question
|p1=waypoint: [[Array]] - Waypoint in question

Revision as of 16:56, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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:
WaypointsCustom 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