BIS fnc scriptedWaypointType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>") |
||
Line 18: | Line 18: | ||
|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= < | |x1= <sqf>[BIS_scripted_WP_01,"returnString"] call BIS_fnc_scriptedWaypointType;</sqf> | ||
|seealso= [[Waypoints]], [[Custom Waypoints]] | |seealso= [[Waypoints]], [[Custom Waypoints]] | ||
}} | }} |
Revision as of 20:03, 5 May 2022
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:
- 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