This is my first post.
For it, I decided to add respawning to the enemy AI.
I've seen someone complaining about no enemy respawn, so here is my response to it.
To add respawning, just simply open up the enemy-ai.dm file, and go the the
action(t)
Now, you can clearly see theres a
if(dead)
There, after the
moved = 0
spawn(60)
respawn()
If you run the action RPG framework, if you try killing a monster, you will see that the enemy will spawn at your spawning location.
We will now fix it.
spawn(60)
respawn()
loc = locate(your, location, here)
You should type your location where it says so.
I don't know a way to respawn the monster at its original location, so I use this.
This is actually my first coding experience, so please tell me if I am wrong somewhere!
http://www.byond.com/developer/Forum_account/EnemyAI
and if not, then here
http://www.byond.com/developer/Forum_account/AITutorialPart2