Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ScenarioFrameworkGetArrayOfLayerBases.c
Go to the documentation of this file.
3{
4 [Attribute()]
5 ref array<string> m_aLayerBaseNames;
6
7 ref array<IEntity> m_aEntities = {};
8
9 //------------------------------------------------------------------------------------------------
11 {
12 IEntity entity;
14 foreach (string name : m_aLayerBaseNames)
15 {
16 entity = FindEntityByName(name);
17 if (!entity)
18 continue;
19
21 if (!layer)
22 continue;
23
24 if (!m_aEntities.Contains(entity))
25 m_aEntities.Insert(entity);
26 }
27
28 return new SCR_ScenarioFrameworkParam<array<IEntity>>(m_aEntities);
29 }
30}
LayerPresets layer
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
void SCR_ScenarioFrameworkLayerBase(IEntityComponentSource src, IEntity ent, IEntity parent)
proto external Managed FindComponent(typename typeName)
SCR_FieldOfViewSettings Attribute