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