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

◆ AttachLightOnPoint()

void VehicleLightsComponent::AttachLightOnPoint ( string name,
string pointName,
string targetPointName,
int mode )
inlineprotected

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

116 {
117 VehicleLightData data = m_LightMap.Get(name);
118 if (data && data.m_Light)
119 {
120 data.m_Light.AttachOnMemoryPoint(m_Parent, pointName, targetPointName);
121 if (mode == VehicleLightMode.SEGREGATED)
122 data.m_Light.SegregateLight();
123 else if (mode == VehicleLightMode.AGGREGATED)
124 data.m_Light.AggregateLight();
125 }
126 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
void VehicleLightData(VehicleLightProfileBase profile)
Определения VehicleLightsComponent.c:21
EntityAI m_Parent
Определения VehicleLightsComponent.c:43
ref map< string, ref VehicleLightData > m_LightMap
Определения VehicleLightsComponent.c:46

Перекрестные ссылки m_LightMap, m_Parent, name и VehicleLightData().