Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-20-2001, 09:46 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Gralats ...

Why wont this work ???

// NPC made by Nyght -GT-
if (created) {
showcharacter;
updategani();
}
if (updategani) {
updategani();
}
function updategani() {
type = 1;
if (rupees>=100) type = 4;
else if (rupees>=30) type = 3;
else if (rupees>=5) type = 2;

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

Please help ....
Use it freely, I dont care, just tell me why it wont work ...
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.