|
Arma Reforger Script API
|
Cycled waypoints are used when we want a series of waypoints repeating for an infinite or finite time. More...
Public Member Functions | |
| proto external void | PerformOn (AIGroup runningAgent) |
| Checks whether the group can still cycle, if so, adds waypoints that the group's waypoints list. | |
| proto external void | SetRerunCounter (int val) |
| proto external int | GetRerunCounter () |
| proto external void | SetWaypoints (array< AIWaypoint > waypoints) |
| proto external void | GetWaypoints (out array< AIWaypoint > outWaypoints) |
Public Member Functions inherited from AIWaypoint | |
| proto external float | GetCompletionYPrecision () |
| proto external void | SetCompletionYPrecision (float fPrecision) |
| proto external float | GetCompletionRadius () |
| proto external void | SetCompletionRadius (float r) |
| proto external EAIWaypointCompletionType | GetCompletionType () |
| proto external void | SetCompletionType (EAIWaypointCompletionType newCompletionType) |
| proto external bool | IsWithinCompletionRadius (AIGroup pAgent) |
| Tests whether the group passes the test on being within the completion radius. | |
Cycled waypoints are used when we want a series of waypoints repeating for an infinite or finite time.
Cycled waypoint inserts the cycling waypoints (and itself) into the agents waypoints array to keep the cycle running.
| proto external int AIWaypointCycle.GetRerunCounter | ( | ) |
| proto external void AIWaypointCycle.GetWaypoints | ( | out array< AIWaypoint > | outWaypoints | ) |
| proto external void AIWaypointCycle.PerformOn | ( | AIGroup | runningAgent | ) |
Checks whether the group can still cycle, if so, adds waypoints that the group's waypoints list.
| AIGroup* | Pointer to the group that will be operated on |
| proto external void AIWaypointCycle.SetRerunCounter | ( | int | val | ) |
| proto external void AIWaypointCycle.SetWaypoints | ( | array< AIWaypoint > | waypoints | ) |