314 {
315 int slot_id_camo;
316 int slot_id_xlights;
318
319 slot_id_camo = InventorySlots.GetSlotIdFromString("CamoNet");
320 m_CamoNet = CamoNet.Cast(GetInventory().FindAttachment(slot_id_camo));
321
322 slot_id_xlights = InventorySlots.GetSlotIdFromString("Lights");
323 eai_xlights = GetInventory().FindAttachment(slot_id_xlights);
324
326 {
328
329
330 if (!IsKindOf("MediumTent"))
331 {
332 AddProxyPhysics("camonet");
333 }
334 }
335
336 if (eai_xlights)
337 {
338 SetAnimationPhase("Xlights", 0);
339 SetAnimationPhase("Xlights_glass_r", 0);
340 SetAnimationPhase("Xlights_glass_g", 0);
341 SetAnimationPhase("Xlights_glass_b", 0);
342 SetAnimationPhase("Xlights_glass_y", 0);
343 }
344 }
void HandleCamoNetAttachment(bool hide)