335 {
336 int slot_id_camo;
337 int slot_id_xlights;
339
340 slot_id_camo = InventorySlots.GetSlotIdFromString("CamoNet");
341 m_CamoNet = CamoNet.Cast(GetInventory().FindAttachment(slot_id_camo));
342
343 slot_id_xlights = InventorySlots.GetSlotIdFromString("Lights");
344 eai_xlights = GetInventory().FindAttachment(slot_id_xlights);
345
347 {
349
350
351 if (!IsKindOf("MediumTent"))
352 {
353 AddProxyPhysics("camonet");
354 }
355 }
356
357 if (eai_xlights)
358 {
359 SetAnimationPhase("Xlights", 0);
360 SetAnimationPhase("Xlights_glass_r", 0);
361 SetAnimationPhase("Xlights_glass_g", 0);
362 SetAnimationPhase("Xlights_glass_b", 0);
363 SetAnimationPhase("Xlights_glass_y", 0);
364 }
365 }
void HandleCamoNetAttachment(bool hide)