Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkGetRandomLayerBase.c
Go to the documentation of this file.
3{
4 [Attribute(defvalue: "", UIWidgets.EditComboBox, desc: "From this list, random layer will be selected")]
5 ref array<string> m_aNameOfLayers;
6
7 //------------------------------------------------------------------------------------------------
9 {
10 if (m_aNameOfLayers.IsEmpty())
11 return null;
12
13 string selectedLayer = m_aNameOfLayers.GetRandomElement();
14
15 IEntity entity = FindEntityByName(selectedLayer);
16 if (!entity)
17 return null;
18
20 if (!layer)
21 return null;
22
23 return new SCR_ScenarioFrameworkParam<IEntity>(entity);
24 }
25}
LayerPresets layer
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
void SCR_ScenarioFrameworkLayerBase(IEntityComponentSource src, IEntity ent, IEntity parent)
proto external Managed FindComponent(typename typeName)
SCR_FieldOfViewSettings Attribute