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

◆ SetColorValue()

static void PPEffects::SetColorValue ( int index,
float r,
float g,
float b,
float a,
float overlay )
inlinestaticprivate

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

357 {
358 if ( index < m_ColorEffect.Count() )
359 {
360 array<float> values = {r,g,b,a,overlay};
361
362 m_ColorValues.Set(index, values);
363 }
364 else
365 {
366 Print("Error: PPEffects: m_ColorValues with index: "+ index +" is not registered.");
367 }
368 }
static ref array< float > m_ColorEffect
Определения PPEffects.c:40
static ref map< int, ref array< float > > m_ColorValues
Определения PPEffects.c:39
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки m_ColorEffect, m_ColorValues и Print().

Используется в DisableBurlapSackBlindness(), EnableBurlapSackBlindness(), SetDeathDarkening() и SetShockEffectColor().