62 SetHealth01(
"",
"",
health);
98 if (
super.CanBeActionTarget())
102 return !parent.IsManagingArrows();
170 return GetAnimationPhase(
"Visibility") == 0;
175 if (!
super.IsInventoryVisible())
216 GetGame().CreateObject(
"ContaminatedArea_Local",
item.GetPosition());
248 RegisterNetSyncVariableBool(
"m_Activated");
253 super.OnVariablesSynchronized();
292 super.EEDelete(parent);
302 SetHealth(
"",
"", 0.0);
eBleedingSourceType GetType()
void AddAction(typename actionName)
static void PlayOnHitParticle(vector position)
override void EEParentedFrom(EntityAI parent)
Ammo_40mm_Base EEParentedTo
override void OnDamageDestroyed(int oldLevel)
DamageType
exposed from C++ (do not change)
override void EEKilled(Object killer)
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
override void OnActivatedByItem(notnull ItemBase item)
Called when this item is activated by other.
class JsonUndergroundAreaTriggerData GetPosition
override bool IsTakeable()
override bool IsInventoryVisible()
override bool ShootsExplosiveAmmo()
override void EEKilled(Object killer)
override void OnActivatedByItem(notnull ItemBase item)
override void OnDamageDestroyed(int oldLevel)
override void OnActivatedByItem(notnull ItemBase item)
override void EEKilled(Object killer)
special behaviour - do not call super
override bool CanPutInCargo(EntityAI parent)
override void OnVariablesSynchronized()
void Ammo_40mm_Smoke_ColorBase()
override void EEDelete(EntityAI parent)
override void SetFromProjectile(ProjectileStoppedInfo info)
override void SetActions()
static float GetAmmoWeightByBulletType(string bulletType)
float GetWeightSpecialized(bool forceRecalc=false)
override bool IsAmmoPile()
static ref map< string, float > m_AmmoWeightByBulletType
override void SetQuantityToMinimum()
override void EEParentedTo(EntityAI parent)
override bool IsInventoryVisible()
override bool CanBeActionTarget()
override void EEParentedFrom(EntityAI parent)
Legacy way of using particles in the game.
void SetWiggle(float random_angle, float random_interval)
Makes the particle change direction by random_angle every random_interval seconds.
void Stop()
Legacy function for backwards compatibility with 1.14 and below.
static const int BOLT_CUPID_HIT
static int GetParticleIDByName(string name)
Returns particle's ID based on the filename (without .ptc suffix)
static const int GRENADE_CHEM_BREAK
proto native CGame GetGame()
static proto float Max(float x, float y)
Returns bigger of two given values.