Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_UnloadSuppliesWaypointState Interface Reference
Inheritance diagram for SCR_UnloadSuppliesWaypointState:
SCR_SuppliesTransferWaypointState SCR_AIWaypointState

Public Member Functions

void SCR_UnloadSuppliesWaypointState (notnull SCR_AIGroupUtilityComponent utility, SCR_AIWaypoint waypoint)
 
override void OnSelected ()
 Called when group selects the waypoint as current.
 
- Public Member Functions inherited from SCR_AIWaypointState
void SCR_AIWaypointState (notnull SCR_AIGroupUtilityComponent utility, SCR_AIWaypoint waypoint)
 
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 Member Functions

void Unload ()
 
- Protected Member Functions inherited from SCR_SuppliesTransferWaypointState
void InitSupplyTransfer (notnull SCR_AIGroupUtilityComponent utility, SCR_SuppliesTransferWaypoint wp, EResourceGeneratorID generatorId, EResourceGeneratorID consumerId, bool isLoad)
 
SCR_CampaignMilitaryBaseComponent FindBase (vector position)
 
IEntity GetVehicleFromGroupLeader (notnull SCR_AIGroupUtilityComponent utility)
 
void GetResourceValues (out float currentResource, out float maxResource, out float transferAmount)
 

Additional Inherited Members

- Protected Attributes inherited from SCR_SuppliesTransferWaypointState
SCR_ResourceComponent m_ResourceComponent
 
SCR_ResourceGenerator m_ResourceGenerator
 
SCR_ResourceConsumer m_ResourceConsumer
 
float m_fMaxStoredResource
 
float m_fCurrentResource
 
float m_fCurrentTransferValue
 
float m_fTransferAmount
 
SCR_CampaignMilitaryBaseComponent m_Base
 
- Protected Attributes inherited from SCR_AIWaypointState
SCR_AIGroupUtilityComponent m_Utility
 
AIWaypoint m_Waypoint
 
- Static Protected Attributes inherited from SCR_SuppliesTransferWaypointState
const EResourceType RESOURCE_TYPE = EResourceType.SUPPLIES
 

Constructor & Destructor Documentation

◆ SCR_UnloadSuppliesWaypointState()

void SCR_UnloadSuppliesWaypointState.SCR_UnloadSuppliesWaypointState ( notnull SCR_AIGroupUtilityComponent utility,
SCR_AIWaypoint waypoint )

Member Function Documentation

◆ OnSelected()

override void SCR_UnloadSuppliesWaypointState.OnSelected ( )

Called when group selects the waypoint as current.

Can be overridden in inherited class. Don't forget to call OnSelected of base class.

Implements SCR_AIWaypointState.

◆ Unload()

void SCR_UnloadSuppliesWaypointState.Unload ( )
protected

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