6 int m_MaxDeersAmount = 4;
7 int m_MinDeersAmount = 2;
8 int m_MaxDeersSpawnRange = 25;
9 int m_MinDeersSpawnRange = 5;
13 if ( !
GetGame().IsDedicatedServer() )
20 m_SleighLight.AttachOnMemoryPoint(
this,
"light" );
27 return "SledgeCrash_Distant_SoundSet";
38 super.EEDelete(parent);
40 if ( !
GetGame().IsDedicatedServer() )
43 m_SleighLight.Destroy();
64 deer =
EntityAI.Cast(
GetGame().CreateObject(
"Animal_CervusElaphus", deer_pos,
false,
true));
65 deer.SetHealth01(
"",
"", 0);
66 vector orientation = deer.GetOrientation();
85 origin[0] = origin[0] + randX;
86 origin[2] = origin[2] + randZ;
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
class JsonUndergroundAreaTriggerData GetPosition
override ScriptCallQueue GetCallQueue(int call_category)
void SpawnRandomDeerLater()
override void EEOnCECreate()
XmasSleighLight m_SleighLight
override string GetSoundSet()
vector RandomizePosition(vector origin)
override void EEDelete(EntityAI parent)
void Wreck_SantasSleigh()
static const int AURORA_SANTA_WRECK
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()
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].