@name AlienLights
@inputs [P1 P2 P3 P4 P5 P6 P7 P8]:entity 
@outputs 
@persist 
@trigger 

if (first() | dupefinished()) {
    holoCreate(1)
    holoPos(1,P1:pos())
    holoAng(1,P1:angles())
    holoScale(1,P1:boxSize()/12)
    
    holoCreate(2)
    holoPos(2,P2:pos())
    holoAng(2,P2:angles())
    holoScale(2,P2:boxSize()/12)
    
    holoCreate(3)
    holoPos(3,P3:pos())
    holoAng(3,P3:angles())
    holoScale(3,P3:boxSize()/12)
    
    holoCreate(4)
    holoPos(4,P4:pos())
    holoAng(4,P4:angles())
    holoScale(4,P4:boxSize()/12)
    
    holoCreate(5)
    holoPos(5,P5:pos())
    holoAng(5,P5:angles())
    holoScale(5,P5:boxSize()/12)
    
    holoCreate(6)
    holoPos(6,P6:pos())
    holoAng(6,P6:angles())
    holoScale(6,P6:boxSize()/12)
    
    holoCreate(7)
    holoPos(7,P7:pos())
    holoAng(7,P7:angles())
    holoScale(7,P7:boxSize()/12)
    
    holoCreate(8)
    holoPos(8,P8:pos())
    holoAng(8,P8:angles())
    holoScale(8,P8:boxSize()/12)
    
    for (I = 1,8) {
        holoDisableShading(I,1)
        holoColor(I,vec(150))
    }
    
    P1:setAlpha(0)
    P2:setAlpha(0)
    P3:setAlpha(0)
    P4:setAlpha(0)
    P5:setAlpha(0)
    P6:setAlpha(0)
    P7:setAlpha(0)
    P8:setAlpha(0)
}
