Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScenarioFrameworkLogic.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_ScenarioFrameworkLogicInput
 
class  SCR_ScenarioFrameworkLogicCounterClass
 
class  SCR_ScenarioFrameworkLogicORClass
 
class  SCR_ScenarioFrameworkLogicSwitchClass
 

Functions

class SCR_ScenarioFrameworkLogicInput Attribute (defvalue:"1", desc:"What causes the increase", UIWidgets.Auto, category:"Input")]
 
void Init (SCR_ScenarioFrameworkLogic logic)
 
void OnActivate (bool bSignal, IEntity entity)
 
void Init ()
 initialization More...
 
void SetIsTerminated (bool state)
 
bool GetIsTerminated ()
 
void OnInput (bool pSignal=true, IEntity entity=null)
 
void OnActivate (IEntity entity)
 callback - activation - occurs when and entity which fulfills the filter definitions enters the Trigger More...
 
SCR_ScenarioFrameworkLogicCounterClass SCR_ScenarioFrameworkLogicClass Attribute (defvalue:"1", desc:"Threshold", UIWidgets.Graph, category:"Counter")]
 
int GetCounterValue ()
 
void SetCounterValue (int value)
 
void Increase (IEntity entity)
 
void Reset ()
 

Variables

protected ref SCR_ScenarioFrameworkActionInputBase m_InputAction
 
protected bool m_bLatch
 
protected bool m_bSignal
 
protected IEntity m_Entity
 
protected SCR_ScenarioFrameworkLogic m_MasterLogic
 
protected ref array< ref SCR_ScenarioFrameworkLogicInputm_aInputs
 
protected ref array< ref SCR_ScenarioFrameworkActionBase > m_aActions
 
protected bool m_bIsTerminated
 
protected int m_iCountTo
 
protected ref array< ref SCR_ScenarioFrameworkActionBase > m_aOnIncreaseActions
 
int m_iCnt = 0
 
SCR_ScenarioFrameworkLogicORClass m_iActivations = 0
 

Function Documentation

◆ Attribute() [1/2]

SCR_ScenarioFrameworkLogicCounterClass SCR_ScenarioFrameworkLogicClass Attribute ( defvalue:"1"  ,
desc:"Threshold"  ,
UIWidgets.  Graph,
category:"Counter"   
)

◆ Attribute() [2/2]

class SCR_ScenarioFrameworkLogicInput Attribute ( defvalue:"1"  ,
desc:"What causes the increase"  ,
UIWidgets.  Auto,
category:"Input"   
)

◆ GetCounterValue()

int GetCounterValue ( )
Returns

Definition at line 120 of file SCR_ScenarioFrameworkLogic.c.

◆ GetIsTerminated()

bool GetIsTerminated ( )
Returns

Definition at line 69 of file SCR_ScenarioFrameworkLogic.c.

◆ Increase()

void Increase ( IEntity  entity)
Parameters
[in]entity

Definition at line 135 of file SCR_ScenarioFrameworkLogic.c.

◆ Init()

void Attribute::Init ( SCR_ScenarioFrameworkLogic  logic)
Parameters
[in]logic

Definition at line 15 of file SCR_ScenarioFrameworkLogic.c.

◆ OnActivate()

void Attribute::OnActivate ( bool  bSignal,
IEntity  entity 
)
Parameters
[in]bSignal
[in]entity

Definition at line 25 of file SCR_ScenarioFrameworkLogic.c.

◆ OnInput()

override void OnInput ( bool  pSignal = true,
IEntity  entity = null 
)
Parameters
[in]pSignal
[in]entity

Definition at line 113 of file SCR_ScenarioFrameworkLogic.c.

◆ Reset()

void Reset ( )

Definition at line 153 of file SCR_ScenarioFrameworkLogic.c.

◆ SetCounterValue()

void SetCounterValue ( int  value)
Parameters
[in]value

Definition at line 127 of file SCR_ScenarioFrameworkLogic.c.

◆ SetIsTerminated()

void SetIsTerminated ( bool  state)
Parameters
[in]state

Definition at line 62 of file SCR_ScenarioFrameworkLogic.c.

Variable Documentation

◆ m_aActions

protected ref array<ref SCR_ScenarioFrameworkActionBase> m_aActions

Definition at line 44 of file SCR_ScenarioFrameworkLogic.c.

◆ m_aInputs

protected ref array<ref SCR_ScenarioFrameworkLogicInput> m_aInputs

Definition at line 42 of file SCR_ScenarioFrameworkLogic.c.

◆ m_aOnIncreaseActions

protected ref array<ref SCR_ScenarioFrameworkActionBase> m_aOnIncreaseActions

Definition at line 107 of file SCR_ScenarioFrameworkLogic.c.

◆ m_bIsTerminated

protected bool m_bIsTerminated

Definition at line 47 of file SCR_ScenarioFrameworkLogic.c.

◆ m_bLatch

protected bool m_bLatch

Definition at line 5 of file SCR_ScenarioFrameworkLogic.c.

◆ m_bSignal

protected bool m_bSignal

Definition at line 8 of file SCR_ScenarioFrameworkLogic.c.

◆ m_Entity

protected IEntity m_Entity

Definition at line 9 of file SCR_ScenarioFrameworkLogic.c.

◆ m_iActivations

◆ m_iCnt

int m_iCnt = 0

Definition at line 110 of file SCR_ScenarioFrameworkLogic.c.

◆ m_iCountTo

protected int m_iCountTo

Definition at line 105 of file SCR_ScenarioFrameworkLogic.c.

◆ m_InputAction

protected ref SCR_ScenarioFrameworkActionInputBase m_InputAction

Definition at line 2 of file SCR_ScenarioFrameworkLogic.c.

◆ m_MasterLogic

protected SCR_ScenarioFrameworkLogic m_MasterLogic

Definition at line 10 of file SCR_ScenarioFrameworkLogic.c.