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.
Lineage2 Acessen- INTERLUDE PVP-PVE LOW CLASSIC
RETAIL SERVER !!
💫 NPC BUFFER SENCILLO A PARTIR DE LVL 20
Exp x1.50 | Adena x1.50
Sistema de Casas por alquiler ( incluyen niveles para mejorar la casa + beneficios )
Sistema de tradeo mediante buffalo ( transporte de items de ciudad a ciudad, con ganancia de adena ).
Website: acessen.com.ar
Discord: https://discord.gg/jzyyQtEKmf PARA MAS INFORMACIÓN
🎯 Looking for a stable and fun server to grind with your friends?
Join L2Roosters over 1000+ players online daily, intense epic battles, fair economy, no corruption, and exciting daily events!
💎 Got friends? Bring them along and claim 1 WEEK of FREE Premium Access!
🔥 Start your journey with us today!
Hey everyone!
L2Evolution – Inspired by L2Pride
We’ve just released more info about the server everything you need to know is now available!
👉 Learn more here: https://l2evolution.org/Forum/wiki/
🌐 Official Website: l2evolution.org
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.