What is the limit for scripts?
If I add a score clock (makes it call func_static entities), it starts to skip some of my abort_if_less/greater_than’s and trigger_if_equal’s.
Should I be adding more wait statements? Is there something else I could do that I haven’t thought of that someone can think of? Maybe if I split apart and create a new loop section?
Basically, I go and add something crazy like this because I am out of registers from creating control points and other…accum in this loop is full, globalaccums are all used:
trigger numbers
{
globalaccum 4 trigger_if_equal 5 clock_update spot_r1_5
globalaccum 4 trigger_if_equal 10 clock_update spot_r2_1
globalaccum 4 trigger_if_equal 15 clock_update spot_r1_5
globalaccum 4 trigger_if_equal 20 clock_update spot_r2_2
globalaccum 4 trigger_if_equal 25 clock_update spot_r1_5
...............etc
}
trigger spot_r1_0
{
setstate r1_5 invisible
setstate r1_0 default
}
trigger spot_r1_5
{
setstate r1_5 default
setstate r1_0 invisible
}
....................etc