SRL Archive - OSR Help

Wait Until Generic Function For Everything @ Stuff


YoHoJo

2012-07-30 20:59:15

So Imma have a bunch of boolean functions.

I want to have one wait function (Similar to WaitOption/WiatUpText etc) that repeatedly waits 100ms or so until one of my particular boolean functions is true and then if it's not true after X seconds to log out etc.

How do?
I assume an @ symbol is needed somewhere? Is so, that would be cool, you don't see @ symbols often in scripting and seeing it makes me think the code is cool.

NCDS

2012-07-30 21:02:02

waitFunc(@function, waitParam);

;)

E: might be 2 'waitParam's, 1 for each iteration, the other for total time.

Nebula

2012-07-30 21:07:17

He'd probably have to use WaitFuncEx since his function probably requires parameters.

YoHoJo

2012-07-30 21:07:52

Oh sweet, already in SRL very nice, very cool!
And there IS an @ Symbol, I feel pro :].
Thanks!

EL
I looked at Ex, I think I'll be just fine with regular WaitFunc for now, but thanks.