Thread: Tree Chopping?
View Single Post
  #1  
Old 08-04-2006, 08:40 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Tree Chopping?

PHP Code:
// Made by Kaidenn

// This is an example. Please rescript

function onCreated() {
  
setshape(14848);
  
this.life 5;
  
this.maxlife 5;
  
setcharani(NULLNULL /* whatever you use*/);
}

function 
onActionAxeHit() {
  if (
this.life 0) {
    
this.life--;
    
// set your gani in some weird step script
  
} else {
    
setTimer(10);
  }
}

function 
onTimeout() {
  
onCreated();
}

//#CLIENTSIDE

function onCreated() {
  
setshape(13232);

Ok FIRST AND FOREMOST. I DID NOT START THIS SCRIPT. I WOULD JUST LIKE TO KNOW HOW TO COMPLETE IT. IT WAS MADE FOR MY SERVER. It's supposed to go like this showimg in between axe swings then after a certain number it's supposed to play a gani of the tree falling. Where and what do I write to make this so in this script? Help please?
Reply With Quote