BIS fnc scriptedWaypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - " |r1=[[" to " |r1= [[")
Line 16: Line 16:
|p2=type: [[String]] or [[Config]] - (Optional, default [[configFile]]) Type of returned value, can by any string and any config
|p2=type: [[String]] or [[Config]] - (Optional, default [[configFile]]) Type of returned value, can by any string and any config


|r1=[[String]] or [[Config]] - String in format ("category/class") or config in format (CfgWaypoints path)
|r1= [[String]] or [[Config]] - String in format ("category/class") or config in format (CfgWaypoints path)


|x1= <code>[BIS_scripted_WP_01,"returnString"] [[call]] [[BIS_fnc_scriptedWaypointType]];</code>
|x1= <code>[BIS_scripted_WP_01,"returnString"] [[call]] [[BIS_fnc_scriptedWaypointType]];</code>

Revision as of 23:27, 7 August 2021

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