BIS fnc scriptedWaypointType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )T([a-z])" to "$1t$3") |
||
Line 14: | Line 14: | ||
|p1=waypoint: [[Array]] - Waypoint in question | |p1=waypoint: [[Array]] - Waypoint in question | ||
|p2=type: [[String]] or [[Config]] - (Optional, default [[configFile]]) | |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) |
Revision as of 13:32, 8 November 2023
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:
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