28 protected void Init();
81 super.OnInventoryExit(player);
109 if (MiscGameplayFunctions.IsUnderRoofEx(
this, 60))
132 super.OnVariablesSynchronized();
141 override void GetDebugButtonNames(out
string button1, out
string button2, out
string button3, out
string button4)
148 if (button_index == 1)
PlaceObjectActionReciveData ActionReciveData ActionDeployObject()
ActionLightItemOnFireCB ActionContinuousBaseCB ActionLightItemOnFire()
void AddAction(typename actionName)
override void OnDebugButtonPressServer(int button_index)
override void GetDebugButtonNames(out string button1, out string button2, out string button3, out string button4)
protected void OnEventServer(int type)
Called periodically after the entity gets ignited.
protected float GetMaxAllowedWetness()
protected ref Timer m_TimerEvent
protected void OnStateChangedClient(EFireworksState currentState)
protected int m_RandomSeed
override bool HasFlammableMaterial()
protected float GetEventDelay()
protected void OnStateChangedServer(EFireworksState currentState)
override protected bool CanBeIgnitedBy(EntityAI igniter=NULL)
override protected void OnIgnitedThis(EntityAI fire_source)
Executed on Server when some item ignited this one.
override bool IsBeingPlaced()
override void EEOnCECreate()
Called when entity is being created as new by CE/ Debug.
void OnInventoryEnter(Man player)
Event called on item when it is placed in the player(Man) inventory, passes the owner as a parameter.
void OnInventoryExit(Man player)
Event called on item when it is removed from the player(Man) inventory, passes the old owner as a par...
protected float m_DrainThreshold protected bool m_State
override void OnVariablesSynchronized()
override void SetActions()
static float Dot(vector v1, vector v2)
Returns Dot product of vector v1 and vector v2.
proto native CGame GetGame()