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

Public Member Functions

bool CanActivateTriggerVariant (IEntity object, out SCR_ScenarioFrameworkTriggerEntity trigger)
 Activates trigger if not exceeded max number of activations, removes event handlers if max reached.
 
override void OnActivate (IEntity object)
 
- Public Member Functions inherited from SCR_ScenarioFrameworkActionBase
void Init (IEntity entity)
 Initializes entity, sets OnActivate and OnDeactivate event handlers for SCR_BaseTriggerEntity.
 
bool CanActivate ()
 Checks if action can be activated, handles maximum activation limit, increments activation count if possible.
 
bool ValidateInputEntity (IEntity object, SCR_ScenarioFrameworkGet getter, out IEntity entity)
 Validates input entity for ScenarioFramework Action, checks if it's from layer or getter, returns true if valid.
 
void OnActivate (IEntity object)
 
array< ref SCR_ScenarioFrameworkActionBaseGetSubActions ()
 
void RestoreToDefault ()
 Restores default settings for action and resets number of activations.
 
void SpawnObjects (notnull array< string > aObjectsNames, SCR_ScenarioFrameworkEActivationType eActivationType)
 Spawns objects from an array, checks for existence, activation type, and initializes them with specified activation type.
 

Public Attributes

ref SCR_ScenarioFrameworkGetLayerBase m_Getter
 
SCR_EScenarioFrameworkTriggerActivation m_eActivationPresence
 
- Public Attributes inherited from SCR_ScenarioFrameworkActionBase
bool m_bDebug
 
int m_iMaxNumberOfActivations
 
IEntity m_Entity
 
int m_iNumberOfActivations
 

Member Function Documentation

◆ CanActivateTriggerVariant()

bool SCR_ScenarioFrameworkActionChangeTriggerActivationPresence.CanActivateTriggerVariant ( IEntity  object,
out SCR_ScenarioFrameworkTriggerEntity  trigger 
)

Activates trigger if not exceeded max number of activations, removes event handlers if max reached.

Parameters
[in]objectChecks if trigger can be activated, increments activation count if possible, removes event handlers if max activations reached
[out]triggerTrigger entity in scenario framework, used for activating/deactivating events.
Returns
true if trigger can be activated, false otherwise.

◆ OnActivate()

override void SCR_ScenarioFrameworkActionChangeTriggerActivationPresence.OnActivate ( IEntity  object)
Parameters
[in]object

Implements SCR_ScenarioFrameworkActionBase.

Member Data Documentation

◆ m_eActivationPresence

SCR_EScenarioFrameworkTriggerActivation SCR_ScenarioFrameworkActionChangeTriggerActivationPresence.m_eActivationPresence

◆ m_Getter

ref SCR_ScenarioFrameworkGetLayerBase SCR_ScenarioFrameworkActionChangeTriggerActivationPresence.m_Getter

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