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

◆ ClearWaterEffects()

void BoatScript::ClearWaterEffects ( )
inlineprotected

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

759 {
761
762 for (int i; i < 4; i++)
763 {
764 if (m_WaterEffects[i].IsPlaying())
765 {
767 {
768 m_WaterEffects[i].GetParticle().SetParticleParam(EmitorParam.BIRTH_RATE, 0);
769 m_WaterEffects[i].GetParticle().SetParticleParam(EmitorParam.BIRTH_RATE_RND, 0);
770 }
771 m_WaterEffects[i].Stop();
772 }
773 }
774 }
bool IsPlaying()
Returns true when the Effect is playing, false otherwise.
Определения Effect.c:195
proto native ParticleSource GetParticle(int index)
Manually get the particle at index.
ref EffectBoatWaterBase m_WaterEffects[4]
Определения BoatScript.c:53
void StopParticleUpdate()
Определения BoatScript.c:752
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
proto void Remove(func fn)
remove specific call from queue
proto native CGame GetGame()
EmitorParam
Определения EnVisual.c:114
const int CALL_CATEGORY_SYSTEM
Определения tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, CGame::GetCallQueue(), GetGame(), GetParticle(), IsPlaying(), m_WaterEffects, ScriptCallQueue::Remove() и StopParticleUpdate().

Используется в OnEngineStart() и StopParticleUpdate().