13 protected SCR_ArsenalDisplayComponent m_ArsenalDisplayComponent;
25 m_ArsenalDisplayComponent.ClearArsenal();
36 if (!assignedFaction || (assignedFaction && assignedFaction.GetFactionKey() != faction.GetFactionKey()))
44 m_ArsenalDisplayComponent.RefreshArsenal(faction);
48 override void EOnInit(IEntity owner)
53 m_ArsenalDisplayComponent = SCR_ArsenalDisplayComponent.Cast(owner.FindComponent(SCR_ArsenalDisplayComponent));
55 if (!m_ArsenalDisplayComponent)
57 Print(
"Arsenal display component not found on WeaponRackEntity", LogLevel.ERROR);
65 SetEventMask(EntityEvent.INIT);