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

Protected Member Functions

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)
 

Protected Attributes

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

const EResourceType RESOURCE_TYPE = EResourceType.SUPPLIES
 

Additional Inherited Members

- Public Member Functions inherited from SCR_AIWaypointState
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.
 

Member Function Documentation

◆ FindBase()

SCR_CampaignMilitaryBaseComponent SCR_SuppliesTransferWaypointState.FindBase ( vector position)
protected

◆ GetResourceValues()

void SCR_SuppliesTransferWaypointState.GetResourceValues ( out float currentResource,
out float maxResource,
out float transferAmount )
protected

◆ GetVehicleFromGroupLeader()

IEntity SCR_SuppliesTransferWaypointState.GetVehicleFromGroupLeader ( notnull SCR_AIGroupUtilityComponent utility)
protected

◆ InitSupplyTransfer()

void SCR_SuppliesTransferWaypointState.InitSupplyTransfer ( notnull SCR_AIGroupUtilityComponent utility,
SCR_SuppliesTransferWaypoint wp,
EResourceGeneratorID generatorId,
EResourceGeneratorID consumerId,
bool isLoad )
protected

Member Data Documentation

◆ m_Base

SCR_CampaignMilitaryBaseComponent SCR_SuppliesTransferWaypointState.m_Base
protected

◆ m_fCurrentResource

float SCR_SuppliesTransferWaypointState.m_fCurrentResource
protected

◆ m_fCurrentTransferValue

float SCR_SuppliesTransferWaypointState.m_fCurrentTransferValue
protected

◆ m_fMaxStoredResource

float SCR_SuppliesTransferWaypointState.m_fMaxStoredResource
protected

◆ m_fTransferAmount

float SCR_SuppliesTransferWaypointState.m_fTransferAmount
protected

◆ m_ResourceComponent

SCR_ResourceComponent SCR_SuppliesTransferWaypointState.m_ResourceComponent
protected

◆ m_ResourceConsumer

SCR_ResourceConsumer SCR_SuppliesTransferWaypointState.m_ResourceConsumer
protected

◆ m_ResourceGenerator

SCR_ResourceGenerator SCR_SuppliesTransferWaypointState.m_ResourceGenerator
protected

◆ RESOURCE_TYPE

const EResourceType SCR_SuppliesTransferWaypointState.RESOURCE_TYPE = EResourceType.SUPPLIES
staticprotected

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