Hi.
Is it possible to do a "while: or "for" loop in script without the FOSE?
Thanks,
Dan
YES!!!!!
I've been doing quite a lot of this lately. I've been using actor effects. The "scripteffectupdate" script block in an effect has the characteristic that it will repeat. I tend to see like 2 iterations in the first frame, and then it runs like 1 iteration per frame from then on.
ScriptEffectStart will run one time at the beginning when you apply the effect, if you need something like that.
So you can loop like this:
scn MyHappyEffectSCRIPTshort totalbegin scripteffectupdateif total == 10 dispel MyHappyEffect ;im not sure this is even necessary returnendifif total < 10 ; this is to be sure you don't somehow get extra iterations set Total to Total + 1endifend