I'm sure this used to work, but now it seems to be causing problems (unless I've missed something.....)
Here's a simple firing Function, however, the EntityColor command gives an error of 'Variable Must Be a Type'...
Here's a simple firing Function, however, the EntityColor command gives an error of 'Variable Must Be a Type'...
Function drnfire() SoundVolume drnfiresnd,1-(EntityDistance(drone,cam)/1000) PlaySound drnfiresnd drnfiretime=MilliSecs() sctbul.bullet=New bullet sctbul\Sprite=CopyEntity(ionsprite) EntityFX sctbul\Sprite,25 EntityColor sclbul\Sprite,240,200,0 PositionEntity sctbul\sprite,EntityX(drone,1),EntityY(drone,1),EntityZ(drone,1),1 PointEntity sctbul\Sprite,scout,EntityRoll#(scout,1) sctbul\range=1000 End Function