Thread: destroy;
View Single Post
  #9  
Old 03-14-2002, 10:51 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by happyme

lolz

I dont see whats wrong with it? It does the job doesnt it?

so anyone got any ideas why it doesnt work?
and it is for non-p2p
btw, this is my first time using destroy so im not that familiar.
its probably better to do this, make it destroy before it leaves the level, if you don't the command is not run because the player executing the command is not on the level anymore.
NPC Code:

if (created||playerenters) {
timereverywhere;
timeout=.05;
}
if (playertouchsme&&strequals(playing,#s(etegg))) {
say2 You found it!;
setstring server.eteggwinner,#a;
destroy;
setlevel2 eteggprize.nw,30,30;
}

if (timeout) {
// you don't need timereverywhere more than once.
timeout=.05;
if (strequals(ended,#s(server.etegg)))
destroy;
}

__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote