ID:266315
Dec 20 2001, 4:40 pm
|
|
After I monster is spawned what would I have to do to make it so it can't move for a bit, like 5 seconds. Then, after those 5 seconds the monster's ability to move is restored. I tried using the same var I use for players in my game, but when I try to use it on the spawned creautre, it says bad var. Thank you.
|
Dec 20 2001, 6:31 pm
|
|
Since you only want to pause it at the beginning, the easiest way would be to increase the spawn() delay before calling the AI cycle in the mob.New() proc.
|