Thread: Show Down...
View Single Post
  #2  
Old 11-10-2001, 10:44 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Re: Show Down...

Quote:
Originally posted by Brad2
Can anyone help me with something...right now im working on my scripts/gfx for the server and basically all the main gfx are done but I dont know how I am supposed to script my gralet type script with my sprites when I dont have the npc server to use...im very confused can anyone help?

PS if you are interested in making GFX or scripting post here as well...

if you need the sprites here they are for the gralet thing to be with..
if/when you get your PW up, I can help you
but for now, here is the script I use
NPC Code:
if (created) {
showcharacter;
updategani();
}
if (updategani) {
updategani();
}
function updategani() {
type = 1;
if (rupees>=7500) type = 11;
else if (rupees>=5000) type = 10;
else if (rupees>=2500) type = 9;
else if (rupees>=1000) type = 8;
else if (rupees>=750) type = 7;
else if (rupees>=500) type = 6;
else if (rupees>=250) type = 5;
else if (rupees>=100) type = 4;
else if (rupees>=30) type = 3;
else if (rupees>=5) type = 2;

setcharani dk_gralats,#v(type);
}
if (playertouchsme) {
playerrupees += rupees;
rupees = 0;
destroy;
}

__________________
Reply With Quote