Jump to content

Lua Pause (is there a ZombiePause?)


RegularX

Recommended Posts

Does anyone know how to handle a quick pause in Lua?  Is there any convenience method like ZombiePause (a la ZombieRand)?  Googling seems to indicate some wonky os lib methods, which I doubt would work here.

 

I'm trying to do some "double tap" attacks which definitely kill the zombie, so I attack twice in my loop but I think there's a race condition where the 'downed' zom gets init'd after that.

 

If there's not, I can do a second attack based on the game's time to achieve what I need, I think - but wanted to make sure there wasn't a one line solution before I did that.

 

 

Update: OK, so I finally figured out how to instakill a zom, so not really needed.  And pauses can be kinda evil, but still curious.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...