◆ CheckEngineDrowned()
void SCR_ScenarioFrameworkPluginOnDestroyEvent.CheckEngineDrowned |
( |
| ) |
|
Checks if engine is downed, removes related event handlers, and activates actions on destroy if engine is drown.
◆ GetActions()
◆ Init()
Initializes scenario framework layer, registers damage state change event, checks for vehicle engine stop event, and schedules engine drowning action.
- Parameters
-
[in] | object | of layer base from which entity is further retrieved |
Implements SCR_ScenarioFrameworkPlugin.
◆ OnObjectDamage()
void SCR_ScenarioFrameworkPluginOnDestroyEvent.OnObjectDamage |
( |
EDamageState | state | ) |
|
- Parameters
-
[in] | state | OnObjectDamage state represents the current damage state of an object in the game, used to determine if an object has been |
◆ m_aActionsOnDestroy
◆ m_Asset
IEntity SCR_ScenarioFrameworkPluginOnDestroyEvent.m_Asset |
The documentation for this interface was generated from the following file:
- Game/ScenarioFramework/Plugins/SCR_ScenarioFrameworkPluginOnDestroyEvent.c