Thread: Spells
View Single Post
  #17  
Old 06-30-2004, 09:51 PM
falco10291029 falco10291029 is offline
BEst User EVER!
Join Date: Apr 2004
Posts: 1,186
falco10291029 is on a distinguished road
Cool the newfeautures explained shoot well enough for me to understand, and i have made my first weapon for it already, called rock throw, also i was wondering, in almost all of my weapons, i have to do a set of commands for eac direction I.E:
NPC Code:

if (weaponfired) {
if (playerdir=0) blah0;
if (playerdir=1) blah1;
if (playerdir=2) blah2;
if (playerdir=3) blah3;

}



Is there a way to make it so i only need to do 1 direction, for like explosion weapons or shoot...
Reply With Quote