evinfo.actindex is incorrected when runtime.trigger finished.
In my test case,
evinfo.actindex = 2 when executing action line 3 (Call function).
Event "On function" only has 1 line, so that evinfo.actindex = 1 when leaved.
Now, go back to previous for loop (run_actions_and_subevents). The evinfo.actindex changed to 1 (before was 2)
So that line 3 will be executed again, and again.
Do I miss something about using 'runtime.trigger'?