ID:179509
 
How can i make dead mobs stay in one place? i thought
Move(src,0) would work in a while loop, but it doesn't :(
I got dead gangsters runnin around everywhere.

Airson
Airson wrote:
How can i make dead mobs stay in one place? i thought
Move(src,0) would work in a while loop, but it doesn't :(
I got dead gangsters runnin around everywhere.

How are you causing them to move in the first place? That's a good place to stop them.

You can also do something like:

mob
Move()
if (isDead())
return 0
return ..()


This assumes the existance of an isDead() proc...you can handle that however you want.