of     1   

StealthKing95
#93938002Friday, April 05, 2013 6:28 PM GMT

Is there any use for this? Maybe to wait until stepped in every while loop to keep the loop synchronized with your scripts properly?
digpoe
#93938195Friday, April 05, 2013 6:31 PM GMT

As far as I know it was used to make loops that could run every frame without a wait
StealthKing95
#93938418Friday, April 05, 2013 6:34 PM GMT

How about .Heartbeat? Stepped runs every frame Heartbeat runs in every frame in which Lua is ran Wouldnt heartbeat be better?
BAUER102
#93938445Friday, April 05, 2013 6:34 PM GMT

Alternative to wait(0). Also, this does belong into Scripting _ HELPERS _.
digpoe
#93938509Friday, April 05, 2013 6:35 PM GMT

I don't know, I've never really used the either. And I've only just heard about this 'heartbeat' now. I know it exists in other games (for me, all the games that use the Source engine have it as far as I know), but I haven't known how to use it to it's best extent.
digpoe
#93938589Friday, April 05, 2013 6:36 PM GMT

@BAUER (Sorry if I'm butchering you're name, I could only get a snapshot of it and I only remembered it for a tenth of a second), Considering this has become a discussion to some extent, I would believe it will be OK here.
StealthKing95
#93938748Friday, April 05, 2013 6:39 PM GMT

Also, the wiki says these events are deprecated, but I guess they still work?
digpoe
#93938898Friday, April 05, 2013 6:41 PM GMT

oh god grammar error in my post. "you're" should be "your" I'm not saying BAUER was something, I'm talking ABOUT him. and it turned out I didn't butcher his name in any way.
Prehistoricman
#93941204Friday, April 05, 2013 7:14 PM GMT

Stepped should be deprecated, but Heartbeat shouldn't.
Parthax
#93942878Friday, April 05, 2013 7:35 PM GMT

Would it be more efficient to use multiple coroutines with a while loop, or just Stepped? ❖ VOID Successor Parthax ❖
JoinScript
#93980777Saturday, April 06, 2013 1:34 AM GMT

@part heartbeat

    of     1