Jump to content

[LE] Simple utility.wait issue


TyburnKetch

Recommended Posts

Unfortunately I can not post my script right now (which would obviously be helpful)

 

However ... I am using utility.wait on a script that asks if the player is sitting, utility.wait - give player a blessing.

 

It works, however after more testing I have discovered that utility.wait runs even after the event should be cancelled.

If the player stands up before the blessing has fired utility.wait continues its count regardless.

 

I am looking for utility.wait to reset when the player stands up if the blessing has not fired.

 

At the moment if the amount of time has passed (in this case 15.0), regardless of if the player is sitting or not, when the player activates the chair (script) again they are instantly given the blessing instead of having to wait again from the start of the (timer)

 

Should I set an Int function for the timer? What else could be missing?

Edited by TyburnKetch
Link to comment
Share on other sites

  • Recently Browsing   0 members

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