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

Public Member Functions

void SCR_LoadSuppliesWaypointState (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 Load ()
 
- 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_LoadSuppliesWaypointState()

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

Member Function Documentation

◆ Load()

void SCR_LoadSuppliesWaypointState.Load ( )
protected

◆ OnSelected()

override void SCR_LoadSuppliesWaypointState.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.


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