Jump to content

Force Enemy Respawn


shanon611

Recommended Posts

Im making a mod that has a place you can go to with high stake dog fight betting.

I got everything working but I have one problem, how can I force things to respawn. I thought it was just 3 days so I made it so Dog fighting was every Friday Night (can only do 1 match a night). Every time you place a bet on a fight it enables two spawns, they fight it out and then if you win you go back to the guy and talk to him he gives you your reward and the animals despawn.
BUT I just waited a week next to him and talked to him again to do a match. When I started the match and the 2 animals spawned, one was spawned alive while the other one was dead. How can I avoid this?

Link to comment
Share on other sites

Use the resurrect command on the dog

You mean in game or add a script that resurrects the dog? Not sure on how to script resurrection but I will look into it (pretty new to modding)

 

do I add something like this?

 

Begin ondeath

dogref.resurrect

endif

end

 

If so, how do I add a delay to it, so maybe after 20 seconds it resurrects

Edited by shanon611
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...