keychup
Active Member
- Reaction score
- 34
So I came up with this system a long time ago. Id like to know what you think and spot any drawbacks.
The trigger basically runs periodic events so that i won't have to create multiple triggers using the [Time - Every X seconds] event
Id also like to know if it is necessary and if it improves anything at all.
The trigger basically runs periodic events so that i won't have to create multiple triggers using the [Time - Every X seconds] event
Id also like to know if it is necessary and if it improves anything at all.
Trigger:
- periodic
- Events
- Time - Every 0.01 seconds of game time
- Conditions
- Actions
- Set zz_periodic = (zz_periodic + 1.00)
- Set zz_periodicmod = (zz_periodic mod 3.00)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- zz_periodicmod Equal to 0.00
- Then - Actions
- -------- 0.03 second interval: run triggers here with appropriate conditions --------
- Else - Actions
- Set zz_periodicmod = (zz_periodic mod 10.00)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- zz_periodicmod Equal to 0.00
- Then - Actions
- -------- 0.10 second interval: run triggers here with appropriate conditions --------
- Else - Actions
- Set zz_periodicmod = (zz_periodic mod 25.00)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- zz_periodicmod Equal to 0.00
- Then - Actions
- -------- 0.25 second interval: run triggers here with appropriate conditions --------
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- zz_periodic Equal to 30.00
- Then - Actions
- Set zz_periodic = 0.00
- Else - Actions