Delay in NPC script.

Funpire

Dedicated Member
Dedicated Member
Jan 21, 2007
29
0
28
Does anyone know a way to build a delay in a NPC script. For example, I want a window to pop up saying "Loading..." and it would stay there for like 5 seconds before the rest of the code is executed. I have tried loops but without success. :(
 

Akuma

xDEATHx FTW
Golden Oldie
Dec 6, 2006
694
1
25
115
what to do exactly, u can move a player to a map with a delay but nothing else i dont think

addbatch usage: ADDBATCH mapname what it does: sets the options for the batchmove
batchdelay usage: BATCHDELAY 10 what it does: sets the batch delay to 10 seconds
batchmove usage: BATCHMOVE what it does: sets a delayed random move to a map set by addbatch; FIRST do batchdelay then addbatch then batchmove

hope this helps

VirUs
 
Upvote 0

Funpire

Dedicated Member
Dedicated Member
Jan 21, 2007
29
0
28
Thanks for the reply, but what I meant is an on purpose delay in the NPC script. As if the NPC script is loading, so you would see a NPC window pop up saying "Loading..." for 5 seconds and then the rest of the NPC code would run.
 
Upvote 0