View Single Post
  #4  
Old 03-10-2010, 11:33 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Black_knights55 View Post
Thanks, I really appreciate your explanations. But, when I use the weapon, nothing is shooting. The player freeze and play the ani "shoot" but there no projectile. I don't understand why it doesn't just shoot that shuriken lol.
I can't check the GANI now (on Mac), but try setting it to "sword", then listen for the slash sound. You will also see shadows shooting if it works. The code should be similar to

PHP Code:
temp.player.+ (vecx(player.dir) * 1.5);
temp.player.+ (vecy(player.dir) * 2);
temp.0;

temp.angle = (player.dir 1) * (pi 2);
temp.zangle 0;
temp.power 0;

temp.ani "sword";
temp.ani.param "";

player.level.shoot(xyzanglezanglepoweraniani.param); 
__________________
Reply With Quote