Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkSetVariable.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.SetVariableValue(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
void SetVariableValue(string key, string value)
Set a value to global variable at the scenario.
static SCR_ScenarioFrameworkSystem GetInstance()
SCR_FieldOfViewSettings Attribute