View Single Post
  #3  
Old 03-03-2009, 03:54 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
I inherited the # signs. Not a lot I can do about it. Got sure I can find it (I forgot some little subroutine to make sure the player was getting called), then the guy I was testing with got quietly kicked offline. Right now I got
PHP Code:
            triggerserver("weapon",this.name,0,temp.sinx,temp.siny,temp.targets,temp.ptargets);
            
temp.ptt=ptargets.tokenize();
            
player.chat=("PTT:"@ptt);
            for(
temp.plrn:ptt){
              
temp.plr=findplayer(plrn);
              
player.chat=("PLR:"@plr SPC this.damage);
              
plr.chat="Fix me";
              
triggeraction(plr.x+1.5plr.y+1.5"melee""other"this.damage);
              
triggeraction(plr.x+1.5plr.y+1.5"tyhm""other"this.damage);
              
triggeraction(plr.x+1.5plr.y+1.5"Tyhm""other"this.damage);
            } 
And it Used to work, but spontaneously stopped. -_-. Curiously, if I comment out the other two triggeractions it works fine...but only out to a certain distance, about 6 tiles. And actionmelee looks like this:
PHP Code:
function onActionMelee() {
  
player.chat=("Hit! "@params[0SPC params[1]);
  
setAni("hurt""");
  if(
this.cooldown<1){
    
triggerserver("gui"this.name"hurt"params[0], params[1]);
    
findWeapon("GUIInventory").trigger("showHUD""");
    
this.cooldown=60;
  }

__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233

Last edited by Tyhm; 03-03-2009 at 04:04 AM..
Reply With Quote