BIS fnc scriptedWaypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return CfgWaypoints type of scripted waypoint.
 
Description:
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=
____________________________________________________________________________________________


Parameters:
| [waypoint,type] call [[BIS_fnc_scriptedWaypointType]] |Syntax=
0: ARRAY - waypoint
2: (Optional) STRING or CONFIG - type of returned value


Returns:
|p1=waypoint: [[Array]] - Waypoint in question |Parameter 1=
STRING (in format "category/class") or CONFIG (CfgWaypoints path)
*/


|p2=type: [[String]] or [[Config]] - (Optional, default [[configFile]]) Type of returned value, can by any string and any config|Parameter 2=


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
| [[String]] or [[Config]] - String in format ("category/class") or config in format (CfgWaypoints path) |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_scriptedWaypointType]]; --> |= Syntax
|x1= <code>[BIS_scripted_WP_01,"returnString"] [[call]] [[BIS_fnc_scriptedWaypointType]];</code>|Example 1=
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________


|x1= <code></code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[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

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

Notes

Bottom Section