|Description:||Inserts a new waypoint, at the specified index, in the middle of a group existing waypoint chain. The newly created waypoint is returned.|
|Syntax:||[group, index, position, radius] call fn_vbs_insertWaypoint|
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.
_wp = [group player, 2] call fn_vbs_insertWaypoint
- This function is no longer needed after v2.0. From that version on, the
- command supports an index argument that can be used to insert the new waypoint into an existing waypoint chain. --
- 15:35, 29 October 2013 (PDT)