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

◆ SpawnVaporEffect()

void VolcanicTrigger::SpawnVaporEffect ( )
inlineprotected

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

84 {
85 vector pos = GetPosition();
86 pos[1] = GetGame().SurfaceY(pos[0], pos[2]) + 0.5;
87
88 m_VaporParticle = ParticleManager.GetInstance().PlayInWorld(ParticleList.VOLCANO, pos);
89
90 int randSize = Math.RandomIntInclusive(-1,2);
91 int randRate = Math.RandomIntInclusive(-1,2);
92
93 m_VaporParticle.IncrementParticleParam(EmitorParam.SIZE, randSize);
94 m_VaporParticle.IncrementParticleParam(EmitorParam.BIRTH_RATE, randRate);
95 }
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Определения ParticleManager.c:88
proto native float SurfaceY(float x, float z)
ParticleSource m_VaporParticle
Определения VolcanicTrigger.c:8
proto native CGame GetGame()
EmitorParam
Определения EnVisual.c:114
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

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

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