This is essentially a turret cog that fires off projectiles in all directions, except that what the projectiles do is not mentioned in this version...
the problem is that the projectiles don't do their 'thing' and if I put in Print("") lines, I still get nothing. Help.
[This message has been edited by scott_karana (edited July 15, 2002).]
Code:
# Filename.COG # blargh # [scott_karana] symbols thing turret thing projectile local template projectile1=ghost local sound fireSound=trprsht2.wav local message startup message touched message pulse flex X local flex Y local flex Z local vector shootvec local end code startup: Setpulse(0.1); Return; pulse: for (x=0;x<10000;x=x+1) for (y=0;y<10000;y=y+1) for (z=0;z<10000;z=z+1) shootvec=VectorSet(X,Y,Z); FireProjectile(turret, projectile1, fireSound, 8, '0.0 0.0 0.0', shootvec, 1.0, 0x30, 0, 0); Return; touched: projectile=GetSourceRef(); #not telling what the projectiles do tho... Return; end
the problem is that the projectiles don't do their 'thing' and if I put in Print("") lines, I still get nothing. Help.
[This message has been edited by scott_karana (edited July 15, 2002).]
Hey, I'm here! But who cares?