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

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_ScenarioFrameworkActionBasem_aActionsOnDestroy
 
IEntity m_Asset
 
- Public Attributes inherited from SCR_ScenarioFrameworkPlugin
bool m_bDebug
 
SCR_ScenarioFrameworkLayerBase m_Object
 

Member Function Documentation

◆ CheckEngineDrowned()

void SCR_ScenarioFrameworkPluginOnDestroyEvent.CheckEngineDrowned ( )

Checks if engine is downed, removes related event handlers, and activates actions on destroy if engine is drown.

◆ Init()

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.

Parameters
[in]objectof layer base from which entity is further retrieved

Implements SCR_ScenarioFrameworkPlugin.

◆ OnObjectDamage()

void SCR_ScenarioFrameworkPluginOnDestroyEvent.OnObjectDamage ( EDamageState  state)
Parameters
[in]stateOnObjectDamage state represents the current damage state of an object in the game, used to determine if an object has been

Member Data Documentation

◆ m_aActionsOnDestroy

ref array<ref SCR_ScenarioFrameworkActionBase> SCR_ScenarioFrameworkPluginOnDestroyEvent.m_aActionsOnDestroy

◆ m_Asset

IEntity SCR_ScenarioFrameworkPluginOnDestroyEvent.m_Asset

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