The Dink Network

Reply to Re: Nuttree

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
July 24th 2006, 03:57 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
Use
if(&boss == 0)
{
external("s10-gobboss","main");
&boss = 1;
}
right under add_item("item-nut",438, 19); Also make sure &boss is a global var.
One more thing: "s10-gobboss" is too long for a scriptname. I think it should have maximum 8 or 9 chars.
Edit: If you don't want more nuts to fall from the tree after the boss appeared, you should use
if(&boss == 1)
{
return
}

in the hit procedure of the nut tree.