Arma Reforger Script API
|
Public Member Functions | |
override void | Init (SCR_ScenarioFrameworkLayerBase object) |
Initializes scenario framework layer, registers damage state change event, checks for vehicle engine stop event, and schedules engine drowning action. | |
void | OnObjectDamage (EDamageState state) |
void | CheckEngineDrowned () |
Checks if engine is downed, removes related event handlers, and activates actions on destroy if engine is drown. | |
Public Member Functions inherited from SCR_ScenarioFrameworkPlugin | |
SCR_ScenarioFrameworkLayerBase | GetObject () |
void | Init (SCR_ScenarioFrameworkLayerBase object) |
Initializes scenario framework plugin with provided object, logs debug information if debug mode is enabled. | |
void | OnWBKeyChanged (SCR_ScenarioFrameworkLayerBase object) |
Public Attributes | |
ref array< ref SCR_ScenarioFrameworkActionBase > | m_aActionsOnDestroy |
IEntity | m_Asset |
Public Attributes inherited from SCR_ScenarioFrameworkPlugin | |
bool | m_bDebug |
SCR_ScenarioFrameworkLayerBase | m_Object |
void SCR_ScenarioFrameworkPluginOnDestroyEvent.CheckEngineDrowned | ( | ) |
Checks if engine is downed, removes related event handlers, and activates actions on destroy if engine is drown.
override void SCR_ScenarioFrameworkPluginOnDestroyEvent.Init | ( | SCR_ScenarioFrameworkLayerBase | object | ) |
Initializes scenario framework layer, registers damage state change event, checks for vehicle engine stop event, and schedules engine drowning action.
[in] | object | of layer base from which entity is further retrieved |
Implements SCR_ScenarioFrameworkPlugin.
void SCR_ScenarioFrameworkPluginOnDestroyEvent.OnObjectDamage | ( | EDamageState | state | ) |
[in] | state | OnObjectDamage state represents the current damage state of an object in the game, used to determine if an object has been |
ref array<ref SCR_ScenarioFrameworkActionBase> SCR_ScenarioFrameworkPluginOnDestroyEvent.m_aActionsOnDestroy |
IEntity SCR_ScenarioFrameworkPluginOnDestroyEvent.m_Asset |