BIS_fnc_wpFormation
Jump to navigation
Jump to search
Description
- Description:
- FORMATION custom waypoint. Player must stay within certain radius and angle towards followed vehicle.
- Execution:
- spawn
- Groups:
- Waypoints
Syntax
- Syntax:
- Custom Waypoint arguments: [failCode, maxTime, relPos, diffAlt, visualize]
- Parameters:
- failCode: Number - code executed if unit spends too long outside formation
- maxTime: Number - time required to be spent in formation (default: 0)
- when > 0, waypoint is completed once maxTime was reached
- when <= 0, waypoint is completed only when waypoint condition was met (always false in Function execution), and failCode is executed once maxTime is reached
- relPos: Array - in format [relDist, relAngle]:
- diffAlt: Number - altitude tolerance in meters (default: -1)
- visualize: Boolean - true to show hint (default: false)
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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