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

◆ SpawnVaporEffect()

void HotSpringTrigger::SpawnVaporEffect ( )
inlineprotected

См. определение в файле HotSpringTrigger.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.HOTPSRING_WATERVAPOR, 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
Определения HotSpringTrigger.c:8
proto native CGame GetGame()
EmitorParam
Определения EnVisual.c:114
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

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

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