@name Disco Holo
@inputs 
@outputs 
@persist EntityAng:angle Color:vector
@trigger 
@model models/XQM/hydcontrolbox.mdl
interval(50)
if(first())
{
   holoCreate(1)
holoCreate(3)   
EntityAng = entity():angles()
   holoCreate(2)
   holoPos(2,entity():pos() + vec(0,80,100))
   holoPos(3,entity():pos() + vec(10,80,100))
holoPos(1,entity():pos() + vec(0,0,100))
   holoScale(2,vec(0.5,10,0.5))
holoScale(3,vec(0.5,10,0.5))
holoScale(1,vec(2,5,2))
   holoColor(1,vec(0,0,0))
   holoParent(2,1)
   holoParent(3,1)


holoCreate(4)
holoCreate(6)   
EntityAng = entity():angles()
   holoCreate(5)
   holoPos(5,entity():pos() + vec(0,80,150))
   holoPos(6,entity():pos() + vec(10,80,150))
holoPos(4,entity():pos() + vec(0,0,150))
   holoScale(5,vec(0.5,10,0.5))
holoScale(6,vec(0.5,10,0.5))
holoScale(4,vec(2,5,2))
   holoColor(4,vec(0,0,0))
   holoParent(5,4)
   holoParent(6,4)

}
EntityAng = EntityAng + ang(0.1,0,7)
Color = Color + randvec(1,255)

holoColor(3,Color)
holoColor(2,Color)
holoColor(6,Color)
holoColor(5,Color)
holoAng(1,EntityAng)
holoAng(4,EntityAng)
holoRenderFX(3,10)
holoRenderFX(2,3)
holoRenderFX(1,3)
holoRenderFX(6,10)
holoRenderFX(5,3)
holoRenderFX(4,3)

#holoModel()
# Foreach loops have been added! The syntax is:
# foreach(Key,Value:type = Table) { }
#
# Data Signals have been added! These functions allow you to transmit 
# data and execute E2s remotely. Read the wiki for more information.
#
# [wirelink]s can be wired to friends without getting kicked
#
# Expression 2 now uses the friends list of any prop protection
# installed on the server to determine if a player may interact
# with your props and read your code. To allow friends to write to your
# expressions, execute the following: wire_expression2_friendwrite 1
#
# A new operator [A ?: B] has been added, shortcut for [A ? A : B]
# Example: Output = A ?: B, Output = A ?: B ?: C
#
# Documentation and examples are available at:
# http://wiki.garrysmod.com/?title=Wire_Expression2
# The community is available at http://www.wiremod.com
