DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SpawnVaporEffect()

void VolcanicTrigger::SpawnVaporEffect ( )
inlineprotected

См. определение в файле VolcanicTrigger.c строка 85

86 {
87 vector pos = GetPosition();
88 pos[1] = g_Game.SurfaceY(pos[0], pos[2]) + 0.5; // Snap to terrain surface
89
90 m_VaporParticle = ParticleManager.GetInstance().PlayInWorld(ParticleList.VOLCANO, pos);
91
92 int randSize = Math.RandomIntInclusive(-1,2);
93 int randRate = Math.RandomIntInclusive(-1,2);
94
95 m_VaporParticle.IncrementParticleParam(EmitorParam.SIZE, randSize);
96 m_VaporParticle.IncrementParticleParam(EmitorParam.BIRTH_RATE, randRate);
97 }
DayZGame g_Game
Определения DayZGame.c:4074
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Определения ParticleManager.c:88
ParticleSource m_VaporParticle
Определения VolcanicTrigger.c:8
EmitorParam
Определения EnVisual.c:114
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки g_Game, GetPosition(), m_VaporParticle, ParticleManager(), Math::RandomIntInclusive() и ParticleList::VOLCANO.

Используется в EEInit().