Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionChangeWeather Interface Reference
Inheritance diagram for SCR_ScenarioFrameworkActionChangeWeather:
SCR_ScenarioFrameworkActionBase

Public Member Functions

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.
 
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

string m_sWeatherPresetName
 
bool m_bRandomWeatherChanges
 
float m_fTransitionDuration
 
bool m_bAutomaticWind
 
float m_fWindSpeed
 
float m_fWindDirection
 
- Public Attributes inherited from SCR_ScenarioFrameworkActionBase
bool m_bDebug
 
int m_iMaxNumberOfActivations
 
IEntity m_Entity
 
int m_iNumberOfActivations
 

Member Function Documentation

◆ OnActivate()

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

Implements SCR_ScenarioFrameworkActionBase.

Member Data Documentation

◆ m_bAutomaticWind

bool SCR_ScenarioFrameworkActionChangeWeather.m_bAutomaticWind

◆ m_bRandomWeatherChanges

bool SCR_ScenarioFrameworkActionChangeWeather.m_bRandomWeatherChanges

◆ m_fTransitionDuration

float SCR_ScenarioFrameworkActionChangeWeather.m_fTransitionDuration

◆ m_fWindDirection

float SCR_ScenarioFrameworkActionChangeWeather.m_fWindDirection

◆ m_fWindSpeed

float SCR_ScenarioFrameworkActionChangeWeather.m_fWindSpeed

◆ m_sWeatherPresetName

string SCR_ScenarioFrameworkActionChangeWeather.m_sWeatherPresetName

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