Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkCreateVariable.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "Name of the variable")]
5 string m_sVariableName;
6
7 [Attribute(desc: "Value of the variable")]
8 string m_sVariableValue;
9
10 //------------------------------------------------------------------------------------------------
11 override void OnActivate(IEntity object)
12 {
13 if (!CanActivate())
14 return;
15
17 if (!scenarioFrameworkSystem)
18 return;
19
20 scenarioFrameworkSystem.CreateVariableValue(m_sVariableName, m_sVariableValue);
21 }
22}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
override void OnActivate()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
static SCR_ScenarioFrameworkSystem GetInstance()
void CreateVariableValue(string key, string value)
Create a new global variable at the scenario.
SCR_FieldOfViewSettings Attribute