Arma Reforger Script API
|
This class represents group's processing of a waypoint. More...
Public Member Functions | |
void | SCR_AIWaypointState (notnull SCR_AIGroupUtilityComponent utility, SCR_AIWaypoint waypoint) |
void | OnSelected () |
Called when group selects the waypoint as current. | |
void | OnDeselected () |
Called when group deselects the waypoint as current, also including completion or removal. | |
void | OnExecuteWaypointTree () |
Called when group switches from Moving towards waypoint to behavior ON waypoint Default behavior is to cancel all activities of this waypoint so far, override if not your case. | |
AIWaypoint | GetWaypoint () |
Getter for the related waypoint. | |
Protected Attributes | |
SCR_AIGroupUtilityComponent | m_Utility |
AIWaypoint | m_Waypoint |
This class represents group's processing of a waypoint.
It is instantiated when a new waypoint is selected by group, and deleted when group switches to another waypoint.
void SCR_AIWaypointState.SCR_AIWaypointState | ( | notnull SCR_AIGroupUtilityComponent | utility, |
SCR_AIWaypoint | waypoint | ||
) |
AIWaypoint SCR_AIWaypointState.GetWaypoint | ( | ) |
Getter for the related waypoint.
void SCR_AIWaypointState.OnDeselected | ( | ) |
Called when group deselects the waypoint as current, also including completion or removal.
Can be overridden in inherited class. Don't forget to call OnDeselected of base class.
Implemented in SCR_AIDefendWaypointState.
void SCR_AIWaypointState.OnExecuteWaypointTree | ( | ) |
Called when group switches from Moving towards waypoint to behavior ON waypoint Default behavior is to cancel all activities of this waypoint so far, override if not your case.
Implemented in SCR_AIAnimationWaypointState.
void SCR_AIWaypointState.OnSelected | ( | ) |
Called when group selects the waypoint as current.
Can be overridden in inherited class. Don't forget to call OnSelected of base class.
Implemented in SCR_DeploySmokeCoverWaypointState, and SCR_SuppressWaypointState.
|
protected |
|
protected |