View Single Post
  #3  
Old 09-18-2005, 07:33 AM
Torankusu_2002 Torankusu_2002 is offline
'been round.
Torankusu_2002's Avatar
Join Date: Nov 2001
Posts: 1,246
Torankusu_2002 is on a distinguished road
Quote:
Originally Posted by Lance
rupees>1 is not an event and it is being checked outside of an event block. Perhaps you meant to and those two conditions together instead of or them?
I don't understand what you mean? With the first class script I posted (without the sleep, etc), if the player drops a gralat and there is only 1 gralat there, it doesn't display anything, but can be picked up. If you put more than one gralat there (2,5,etc), then it shows how much.

I want that text to show and after 5 seconds disappear, but also show if the player enters, and then disappear.

hold on, playing around with it.

Okay, got it to work.

NPC Code:



if (created) {
setshape 1,32,32;
showcharacter;
//dontblock;

updategani();

}

if (updategani) {

updategani();
setcharprop #c,#v(rupees);
sleep 5;
setcharprop #c,;

}

__________________
torankusu's
Reply With Quote