11 RegisterNetSyncVariableBool(
"m_Openable.m_IsOpened");
21 if (!
GetGame().IsDedicatedServer())
43 return m_Openable.IsOpened();
57 entity.GetInventory().CreateInInventory(
"Chemlight_Green");
void AddAction(typename actionName)
Container_Base m_HalfExtents
Super root of all classes in Enforce script.
override bool CanReceiveItemIntoCargo(EntityAI item)
override void OnDebugSpawn()
ref OpenableBehaviour m_Openable
override void SetActions()
override void EEHealthLevelChanged(int oldLevel, int newLevel, string zone)
script counterpart to engine's class Inventory
static int GetInventoryCheckContext()
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.