Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SCR_PowerComponent Interface Reference
Inheritance diagram for SCR_PowerComponent:
[legend]

Public Member Functions

bool HasPower ()
 
bool ShouldApplyNoPowerPenalty ()
 
float GetNoPowerMultiplier ()
 
ScriptInvoker GetEventBatteryStateChanged (bool createNew=true)
 
void UpdatePowerState ()
 
void RegisterBatteryHitZone (notnull HitZone hitZone)
 

Additional Inherited Members

- Protected Member Functions inherited from ScriptGameComponent
bool OnTicksOnRemoteProxy ()
 

Member Function Documentation

◆ GetEventBatteryStateChanged()

ScriptInvoker SCR_PowerComponent.GetEventBatteryStateChanged ( bool  createNew = true)
Parameters
[in]createNew
Returns

◆ GetNoPowerMultiplier()

float SCR_PowerComponent.GetNoPowerMultiplier ( )
Returns

◆ HasPower()

bool SCR_PowerComponent.HasPower ( )
Returns

◆ RegisterBatteryHitZone()

void SCR_PowerComponent.RegisterBatteryHitZone ( notnull HitZone  hitZone)
Parameters
[in]hitZone

◆ ShouldApplyNoPowerPenalty()

bool SCR_PowerComponent.ShouldApplyNoPowerPenalty ( )
Returns

◆ UpdatePowerState()

void SCR_PowerComponent.UpdatePowerState ( )

If there are battery colliders, check if at leat one of them is not destroyed


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