• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[C++] Different Respawn

Joe Rod

Discord: joerod1
Joined
Mar 16, 2011
Messages
499
Solutions
2
Reaction score
172
GitHub
joerod1
Hi guys, i need a code for make something like this: When a monster is killed exactly when its corpse dissapears it respawns again
it would be nice if someone can help me :)
Thanks in advance
Kind Regards
 
Why c++? it can be done in lua pretty easily. or you want it for many/all monsters and not just some special one?
 
You can search for a lua function that reads out the spawn file and creates monsters (onStartup) and onKill you add an event to create the monster which died at the position where it died after a certain time.
Or just set respawntime from 60 to the decay time of the corpse..
 
Back
Top