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

◆ OnVariablesSynchronized()

override void Ammo_40mm_Smoke_ColorBase::OnVariablesSynchronized ( )
inlineprotected

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

263 {
264 super.OnVariablesSynchronized();
265
266 if (m_Activated)
267 {
268 #ifndef SERVER
269 #ifndef NO_GUI
270 string particleStrIdentifier = g_Game.ConfigGetTextOut(string.Format("CfgMagazines %1 particleStrIdentifier", GetType()));
271 m_ParticleId = ParticleList.GetParticleIDByName(particleStrIdentifier);
272 if (m_ParticleId > 0)
273 {
274 m_ParticleSmoke = ParticleManager.GetInstance().PlayOnObject(m_ParticleId, this);
275 m_ParticleSmoke.SetWiggle(7, 0.3);
276 }
277 #endif
278 #endif
279 }
280 }
eBleedingSourceType GetType()
DayZGame g_Game
Определения DayZGame.c:4074
void ParticleManager(ParticleManagerSettings settings)
Constructor (ctor)
Определения ParticleManager.c:88
Particle m_ParticleSmoke
Определения AmmunitionPiles.c:252

Перекрестные ссылки g_Game, ParticleList::GetParticleIDByName(), GetType(), m_Activated, m_ParticleId, m_ParticleSmoke и ParticleManager().