@name Accuracy test
@inputs 
@outputs 
@persist 
@trigger 


interval(100)
Player=players() #Everyone
Play=array() #Ultimately just Bots should remain
for(C=1,Player:count()){
    if(Player[C,entity]:name():find("Bot")){Play:pushEntity(Player[C,entity])}
}

Targ=Play[1,entity]
Pos=Targ:pos()
You=owner()
Spray=array()
Spray[1,vector]=Targ:shootPos()
Spray[2,vector]=Pos+vec(0,0,Targ:height()/2)
Spray[3,vector]=Pos
Spray[4,vector]=Pos+vec(sin(You:angles():yaw())*-30,cos(You:angles():yaw())*50,Targ:height()/2)
Spray[5,vector]=Pos+vec(sin(You:angles():yaw())*30,cos(You:angles():yaw())*-50,Targ:height()/2)
Spray[6,vector]=Pos+vec(sin(You:angles():yaw())*50,cos(You:angles():yaw())*-30,Targ:height())
Spray[7,vector]=Pos+vec(sin(You:angles():yaw())*-50,cos(You:angles():yaw())*30,Targ:height())
Spray[8,vector]=Pos+vec(sin(You:angles():yaw())*-30,cos(You:angles():yaw())*30,Targ:height()*0.75)
Spray[9,vector]=Pos+vec(0,0,Targ:height()+10)
Spray[10,vector]=Pos+vec(sin(You:angles():yaw())*30,cos(You:angles():yaw())*-30,Targ:height()*0.75)
for(C=1,Spray:count()){
    holoCreate(C,Spray[C,vector])
}

#[
    A new preprocessor command, @autoupdate has been added.
    See the wiki for more info.

    Documentation and examples are available at:
    http://wiki.wiremod.com/wiki/Expression_2
    The community is available at http://www.wiremod.com
]#
