BIS fnc scriptedWaypointType: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return CfgWaypoints type of scripted waypoint. | ||
Returns empty string/config when waypoint is not scripted | Returns empty string/config when waypoint is not scripted | ||
Returns "Custom"/CfgWaypoints root when waypoint is using custom script | Returns "Custom"/CfgWaypoints root when waypoint is using custom script.|Description= | ||
____________________________________________________________________________________________ | |||
| [waypoint,type] call [[BIS_fnc_scriptedWaypointType]] |Syntax= | |||
|p1=waypoint: [[Array]] - Waypoint in question |Parameter 1= | |||
|p2=type: [[String]] or [[Config]] - (Optional, default [[configFile]]) Type of returned value, can by any string and any config|Parameter 2= | |||
| [[String]] or [[Config]] - String in format ("category/class") or config in format (CfgWaypoints path) |Return value= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | |x1= <code>[BIS_scripted_WP_01,"returnString"] [[call]] [[BIS_fnc_scriptedWaypointType]];</code>|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[Waypoints]], [[Custom Waypoints]] |See also= | ||
}} | }} | ||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
<dl class="command_description"> | <dl class="command_description"> |
Revision as of 14:02, 20 June 2018
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:
- Uncategorised
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