C
Chindril
Guest
What I mean by an infinite loop, is a trigger like this
Basicly, the triggers stops itself after a few loop, from what I read there is a time limit for a trigger to execute, unless you put in waits or stuff like it.
I tried adding a call PolledWait(0.01), but its too slow
A wait of 0.00 doesnt work neither
Finally, call TriggerSleepAction( 0.00 ) works, but still too slow.
Is there any ways I could make my loop happen like 30-50 times a seconds without stopping ? (Like a background thread)
- Chindril
Code:
loop
exitwhen Continue == false
(Actions here...)
if( Condition ) then
set Continue = false
endif
endloop
Basicly, the triggers stops itself after a few loop, from what I read there is a time limit for a trigger to execute, unless you put in waits or stuff like it.
I tried adding a call PolledWait(0.01), but its too slow
A wait of 0.00 doesnt work neither
Finally, call TriggerSleepAction( 0.00 ) works, but still too slow.
Is there any ways I could make my loop happen like 30-50 times a seconds without stopping ? (Like a background thread)
- Chindril