18 ErrorEx(
"Incorrect explosion particle color in the sequence");
28 light.SetDiffuseColor(255,51,51);
29 light.SetAmbientColor(255,51,51);
33 light.SetDiffuseColor(0,255,128);
34 light.SetAmbientColor(0,255,128);
37 light.SetDiffuseColor(51,153,255);
38 light.SetAmbientColor(51,153,255);
41 light.SetDiffuseColor(255,255,51);
42 light.SetAmbientColor(255,255,51);
45 light.SetDiffuseColor(255,102,255);
46 light.SetAmbientColor(255,102,255);
49 ErrorEx(
"Incorrect explosion particle color in the sequence");
55 AnniversaryFireworksLauncherClientEventSecondary evnt =
new AnniversaryFireworksLauncherClientEventSecondary(
m_Item,
m_Index);
78 m_ShotDir.Normalize();
107 override protected FireworksLauncherClientEventBase
SpawnEvent()
Particle m_ParticleExplosion
particle
FireworksLauncherClientEvent m_ShotPos
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
void SetState(bool state)
override bool DisableVicinityIcon()
override bool IsTakeable()
override bool CanSwapEntities(EntityAI otherItem, InventoryLocation otherDestination, InventoryLocation destination)
FireworksLauncherClientEventBase SpawnEvent()
void SetupColorSequences()
void OnEventServer(int type)
Called periodically but only after the entity gets ignited.
void SetupLight(PointLightBase light)
void SpawnSecondaryExplosion()
int GetExplParticleFromSequence()
override ScriptCallQueue GetCallQueue(int call_category)
void RestartEventTimer()
Starts event timer.
ref array< string > m_ColorSequence
void FireworksLauncherClientEvent(FireworksLauncher item, int index)
ref array< ref FireworksLauncherClientEventBase > m_Events
float GetExplosionDistance()
void RequestSecondaryExplosion()
vector GetExplosionPosition()
static const int FIREWORKS_EXPLOSION_THANKS2
static const int FIREWORKS_EXPLOSION_THANKS4
static const int FIREWORKS_EXPLOSION_THANKS1
static const int FIREWORKS_EXPLOSION_RED
static const int FIREWORKS_EXPLOSION_THANKS5
static const int FIREWORKS_EXPLOSION_THANKS3
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
class JsonUndergroundAreaTriggerData GetPosition