BIS fnc scriptedWaypointType: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replacement - "\[\[Category\:Function Group\: Waypoints(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 37: | Line 37: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:scriptedWaypointType}}]] | [[Category:Functions|{{uc:scriptedWaypointType}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:scriptedWaypointType}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:scriptedWaypointType}}]] |
Revision as of 15:02, 12 October 2020
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