Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkActionSetSignal.c
Go to the documentation of this file.
3{
4 [Attribute(desc: "Entity to set the signal on (Optional if action is attached on Slot that spawns target entity)")]
5 ref SCR_ScenarioFrameworkGet m_Getter;
6
7 [Attribute(desc: "Signal to set")]
8 string m_sSignal;
9
10 [Attribute(desc: "Value to set")]
11 int m_iValue;
12
13 //------------------------------------------------------------------------------------------------
14 override void OnActivate(IEntity object)
15 {
16 if (!CanActivate())
17 return;
18
19 IEntity entity;
20 if (!ValidateInputEntity(object, m_Getter, entity))
21 return;
22
24 if (!scenarioFrameworkSystem)
25 return;
26
27 scenarioFrameworkSystem.SetSignalValue(entity, m_sSignal, m_iValue);
28 }
29}
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 SetSignalValue(IEntity entity, string signalName, int val)
SCR_FieldOfViewSettings Attribute