PDA

View Full Version : npc


funnylinkwantsbomys
04-04-2001, 09:54 AM
i found out a script that closes graal when you say anything rofl it really does the script is
// NPC made by Funnylink
if (playersays(heal)) {setlevel2 hospital1bomyroom.graal, 26, 27;} its a bad npc and when you say heal it gives you illigal operations rofl

04-04-2001, 10:14 AM
olorlrfromaalalamala.alam,aoama
SHUT UP.

MoonAngel
04-04-2001, 12:19 PM
u just have a crappy cpu, cause.. that script is mainly used for doors or something.. and it works for almost everyone =P

Lion'el-Jonson
04-04-2001, 01:20 PM
HAW HAW HAW! ROLFZMAOLOLZ!

MoonAngel
04-04-2001, 02:27 PM
has Lion'el-Jonson said

HAW HAW HAW! ROLFZMAOLOLZ!

vergil
04-04-2001, 03:37 PM
used for doors.....?

grim_squeaker_x
04-04-2001, 07:34 PM
I usually use:
if (playertouchsme) {
hide;
dontblock;
timeout = 3;
timereverywhere;
}
if (timeout) {
show;
blockagain;
}
For doors, then I just put the link somewhere behind them.

MoonAngel
04-05-2001, 03:36 AM
i mean password doors... whatever!

like

if (playersays(UBERFUN)&&playertouchsme) {
setlevel2 blahblah.graal,32,60;
}

anyways, who cares? get a new cpu =P

grim_squeaker_x
04-05-2001, 06:46 PM
Password door script (for me):
if (playerchats&&strequals(#c,blahblah)) {
hidelocal;
dontblocklocal;
setplayerprop #c,;
timeout = 3;
}
if (timeout) {
showlocal;
blockagainlocal;
}

vergil
04-06-2001, 02:50 AM
i dont think you use timereverywhere Grim, doesn't that err make the timeout global.. that would effect the other scripts

grim_squeaker_x
04-06-2001, 02:53 AM
You're probably right, well I've got no online scripting experience whatsoever so that might have caused it ;)