Arma Reforger Script API
Loading...
Searching...
No Matches
AIWaypointCycle Interface Reference

Cycled waypoints are used when we want a series of waypoints repeating for an infinite or finite time. More...

Inheritance diagram for AIWaypointCycle:
AIWaypoint

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.
 

Detailed Description

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.

Member Function Documentation

◆ GetRerunCounter()

proto external int AIWaypointCycle.GetRerunCounter ( )

◆ GetWaypoints()

proto external void AIWaypointCycle.GetWaypoints ( out array< AIWaypoint > outWaypoints)

◆ PerformOn()

proto external void AIWaypointCycle.PerformOn ( AIGroup runningAgent)

Checks whether the group can still cycle, if so, adds waypoints that the group's waypoints list.

Template Parameters
AIGroup*Pointer to the group that will be operated on

◆ SetRerunCounter()

proto external void AIWaypointCycle.SetRerunCounter ( int val)

◆ SetWaypoints()

proto external void AIWaypointCycle.SetWaypoints ( array< AIWaypoint > waypoints)

The documentation for this interface was generated from the following file: