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

◆ ScriptedLightBase()

void EntityLightSource::ScriptedLightBase ( )
inlineprotected

Constructor. Everything here is executed before the constructor of all children.

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

48 {
50 SetEnabled(true);
51 SetEventMask(EntityEvent.FRAME);
52 SetEventMask(EntityEvent.INIT);
53 }
void SetEnabled()
prevents insider adding in the wrong position, HOTFIX
Определения TrapTrigger.c:119
proto int GetTime()
returns mission time in milliseconds
float m_LifetimeStart
Определения ScriptedLightBase.c:12
proto native CGame GetGame()
EntityEvent
Entity events for event-mask, or throwing event from code.
Определения EnEntity.c:45

Перекрестные ссылки GetGame(), CGame::GetTime(), m_LifetimeStart и SetEnabled().

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