12 void Init(SCR_ScenarioFrameworkLogic logic)
30class SCR_ScenarioFrameworkLogicClass : GenericEntityClass
36 [
Attribute(
desc:
"If set to true, when this Logic gets activated, it will break the breakpoint in the Script Editor in respective methods. This can be also set during runtime via Debug Menu > ScenarioFramework > Logic Inspector")]
40 ref array<ref SCR_ScenarioFrameworkLogicInput>
m_aInputs;
43 ref array<ref SCR_ScenarioFrameworkActionBase>
m_aActions;
84 Print(
"[SCR_ScenarioFrameworkLogic.OnActivate] debug line (" + __FILE__ +
" L" + __LINE__ +
")",
LogLevel.WARNING);
87 action.OnActivate(entity);
95 action.RestoreToDefault();
106 IEntitySource thisSrc = api.EntityToSource(
this);
107 api.RenameEntity(thisSrc, api.GenerateDefaultEntityName(thisSrc));
116class SCR_ScenarioFrameworkLogicCounter : SCR_ScenarioFrameworkLogic
163 Print(
"[SCR_ScenarioFrameworkLogicCounter.Increase] debug line (" + __FILE__ +
" L" + __LINE__ +
")",
LogLevel.WARNING);
173 increaseAction.OnActivate(entity);
185 Print(
"[SCR_ScenarioFrameworkLogicCounter.Decrease] debug line (" + __FILE__ +
" L" + __LINE__ +
")",
LogLevel.WARNING);
195 decreaseAction.OnActivate(entity);
209 super.RestoreToDefault();
215 action.RestoreToDefault();
220 action.RestoreToDefault();
230class SCR_ScenarioFrameworkLogicOR : SCR_ScenarioFrameworkLogic
251class SCR_ScenarioFrameworkLogicSwitch : SCR_ScenarioFrameworkLogic
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
ref SCR_SortedArray< SCR_BaseEditorAction > m_aActions
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
void SetIsTerminated(bool state)
void OnInput(bool pSignal=true, IEntity entity=null)
void Init()
Initializes scenario framework logic and inputs.
SCR_ScenarioFrameworkLogicORClass m_iActivations
void SetCounterValue(int value)
void Decrease(IEntity entity)
ref array< ref SCR_ScenarioFrameworkLogicInput > m_aInputs
SCR_ScenarioFrameworkLogic m_MasterLogic
ref SCR_ScenarioFrameworkActionInputBase m_InputAction
void Increase(IEntity entity)
ref array< ref SCR_ScenarioFrameworkActionBase > m_aOnIncreaseActions
ref array< ref SCR_ScenarioFrameworkActionBase > m_aOnDecreaseActions
enum EVehicleType IEntity
event void _WB_OnCreate(IEntitySource src)
Called after entity gets created in map during editing or when deleted entity gets restored after und...
proto external WorldEditorAPI _WB_GetEditorAPI()
This returns world editor API, which is safe to use from editor events bellow.
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
Enum with severity of the logging message.
SCR_FieldOfViewSettings Attribute