Hi again, id like to know if theres a way to add some delay between the execution of some lines of code.
For example. I've got the mob named X. When i kill the mob named X i want after 20 seconds to spawn automatically the mob named Z. (I've already did the code part for the spawn of Z but idk how to add the delay)
Thanks a lot
I guess i need to give more infos on how i coded it so the help comes more accurately.
if(getNpcId()==80209)
{
spawn(80210, x, y, z);
}
I put this in doDie in RaidbossManager, so when i kill the mob with id 80209 i want to spawn the mob with id 80210
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
`Son
Hi again, id like to know if theres a way to add some delay between the execution of some lines of code.
For example. I've got the mob named X. When i kill the mob named X i want after 20 seconds to spawn automatically the mob named Z. (I've already did the code part for the spawn of Z but idk how to add the delay)
Thanks a lot
I guess i need to give more infos on how i coded it so the help comes more accurately.
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.