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

◆ ClearWaterEffects()

void BoatScript::ClearWaterEffects ( )
inlineprotected

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

815 {
817
818 for (int i; i < 4; i++)
819 {
820 if (m_WaterEffects[i].IsPlaying())
821 {
823 {
824 m_WaterEffects[i].GetParticle().SetParticleParam(EmitorParam.BIRTH_RATE, 0);
825 m_WaterEffects[i].GetParticle().SetParticleParam(EmitorParam.BIRTH_RATE_RND, 0);
826 }
827 m_WaterEffects[i].Stop();
828 }
829 }
830 }
bool IsPlaying()
Returns true when the Effect is playing, false otherwise.
Определения Effect.c:197
proto native ParticleSource GetParticle(int index)
Manually get the particle at index.
ref EffectBoatWaterBase m_WaterEffects[4]
Определения BoatScript.c:64
void StopParticleUpdate()
Определения BoatScript.c:808
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
Определения 3_Game/tools/tools.c:8

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

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