Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Last Call For Help. (https://forums.graalonline.com/forums/showthread.php?t=1214)

GexGecko 04-10-2001 08:14 AM

Someone, HELP!!! How do I make all these:
1. An NPC walks out of their house, picks a fruitola, then suddenly gets sick and collapses and a doctor NPC with a hospital car comes?
2. An NPC gets sick and does not go outside?
3. How do I make a fishing rod and fish?
4. Ditto with mining stuff?
5. An NPC like the donation cup at Lugie's Field, and when (blahblah) touches it, it drops it and gives it to them?
6. A fire extenguisher NPC and an eventual fire?
7. A random explosion?


Lycia 04-10-2001 02:31 PM

Uh, try asking for one thing at a time?

Tolerian28 04-10-2001 03:08 PM

for random explosion.
if (playenters){
putexplosion a,b,c;
a=random(1,4);
b=random(0,63);
c=random(0,63);
}

grim_squeaker_x 04-10-2001 06:54 PM

Oy:
 
Random explosions is:
putexplosion2 int(random(1,3)),int(random(0,5)),random(0,64),ran dom(0,64);

GexGecko 04-11-2001 08:40 AM

...I meant...
 
I need Lugie's Cup the most, and random explosion, ahem, once every 10 or so minutes, and it starts a fire. I'll find the "fire extenguisher" script myself. So go throw that crap in the trash!

Tyhm 04-12-2001 02:13 AM

NPC Code:
if(playerlaysitem){
take greenrupee;
take bluerupee;
take redrupee;
take goldrupee;
}
if(playerchats&&strequals(#a,Lugie)&&strequals(#c, Gimme!)){
playerrupees+=rupees;
rupees=0;
}




All times are GMT +2. The time now is 08:23 PM.

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