View Single Post
  #1  
Old 06-05-2010, 11:38 PM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
TProjectile.destroy()

does not seem to work.

I know I'm getting the projectile correctly because echoing the projectile's data works just fine...it just won't let me kill it!

PHP Code:
temp.proj player.level.projectiles[temp.ind];
echo(
temp.proj.objectType()); // echoes TProjectile
echo(temp.proj.params); // echoes properly as well
temp.proj.destroy(); // doesn't work, but sometimes produces an error. 
__________________

Last edited by salesman; 06-05-2010 at 11:49 PM..
Reply With Quote