@name GeneratedHolo scanner
@persist E:entity HOLO_INDEX
@trigger all
## FUNCTIONS ##
if(first() || duped()){

   function void createHolo(Model:string,Scl:vector,Pos:vector,Ang:angle,Color:vector,Mat:string,Skin:number){

         holoCreate(HOLO_INDEX)
         holoModel(HOLO_INDEX,Model)
         holoPos(HOLO_INDEX,Pos)
         holoAng(HOLO_INDEX,Ang)
         holoScale(HOLO_INDEX,Scl)
         holoParent(HOLO_INDEX,E)
         holoSkin(HOLO_INDEX,Skin)
         holoColor(HOLO_INDEX,Color)
         holoMaterial(HOLO_INDEX,Mat)

         HOLO_INDEX+=1
   }
}

## GENERATED ##

if(first() || duped()){

E = entity()
   createHolo("models/props_building_details/storefront_template001a_bars.mdl",vec(1),E:toWorld(vec(0,0,0)),E:toWorld(ang(-89.98,-162.27,180)),vec(255,255,255),"",0)
   createHolo("models/props_lab/blastdoor001c.mdl",vec(1),E:toWorld(vec(14.49,-37.58,-1)),E:toWorld(ang(-0.04,-72.17,0)),vec(255,255,255),"",0)
   createHolo("models/props_c17/streetsign004f.mdl",vec(1),E:toWorld(vec(-72.83,12.3,72.64)),E:toWorld(ang(0,107.78,0)),vec(255,255,255),"",0)
   createHolo("models/props_c17/fence01a.mdl",vec(1),E:toWorld(vec(-11,32.54,53.01)),E:toWorld(ang(0,107.78,0)),vec(255,255,255),"",0)
   createHolo("models/props_building_details/storefront_template001a_bars.mdl",vec(1),E:toWorld(vec(-31.64,-10.25,51.08)),E:toWorld(ang(-0.1,17.8,-0.06)),vec(255,255,255),"models/props_canal/metalcrate001d",0)
   createHolo("models/props_lab/blastdoor001b.mdl",vec(1),E:toWorld(vec(50.15,16.97,101.62)),E:toWorld(ang(-90,-162.22,180)),vec(255,255,255),"",0)
   createHolo("models/props_c17/fence01a.mdl",vec(1),E:toWorld(vec(9.9,-31.91,55.33)),E:toWorld(ang(0,-72.22,0)),vec(255,255,255),"",0)
   createHolo("models/props_building_details/storefront_template001a_bars.mdl",vec(1),E:toWorld(vec(34.85,11.2,50.94)),E:toWorld(ang(0,17.78,179.96)),vec(255,255,255),"",0)
}
