11 RegisterNetSyncVariableBool(
"m_Openable.m_IsOpened");
16 if (!super.CanReceiveItemIntoCargo(item))
21 if (!
GetGame().IsDedicatedServer())
58 entity.GetInventory().CreateInInventory(
"Chemlight_Green");
64 super.EEHealthLevelChanged(oldLevel,newLevel,zone);
68 MiscGameplayFunctions.DropAllItemsInInventoryInBounds(
this,
m_HalfExtents);
74class GiftBox_Small
extends GiftBox_Base {}
75class GiftBox_Medium
extends GiftBox_Base {}
76class GiftBox_Large
extends GiftBox_Base {}
void AddAction(typename actionName)
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)
static int GetInventoryCheckContext()
script counterpart to engine's class Inventory
proto native CGame GetGame()
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.