@name RT Cam Texture
@inputs 
@outputs 
@persist 
@trigger
RT="models/rendertarget"
E=entity()
O=owner()
if(E:isConstrainedTo()){
    E:isConstrainedTo():setMaterial(RT)
}else{
    O:setMaterial(RT)
    O:weapon():setMaterial(RT)
}
selfDestruct()
#interval(100)
