HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Execution Count bugged ?

09-26-2002, 10:23 AM#1
Gozai
I used the Trigger Execution Count to raise the Spawnrate on my map, but after Trigger Execution Count 5 it seems to end.

The event is:

Time - Every (20.00 - ((Real(Trigger Execution Count of (This Trigger))))) seconds of Game Time

So after 10 Runs of the Trigger the Action should be done after 10 secs, after 11 Runs after 9 seconds, etc.

But it seem to stuck somewhere near 15 Seconds = after 5 Trigger Execution Counts.

Is it a known problem or my mistake ?
Is there any way to Convert the Trigger Execution Count to a string to control that ?

Thx
Gozai
09-26-2002, 11:05 AM#2
Wakeman
Don't know exactly why this happens.

Maybe after the trigger run once, it sent out 2 triggers that run 19s and 20s later, which may look like what you experienced through my rough calculation. Try turning off the trigger as it start and on at the end.

Even better is to add a line for debugging:

A: Display ((trigger execution count of this trigger) + ":" + (elapsed time))

It may give you idea of the bug. If you still can't figuare it out, post the result of this test here so that we can discuss.

Debugging is a crucial skill that we should all learn!
09-26-2002, 01:47 PM#3
Gozai
OK, call my dumbass. The Trigger doesn´t work at all.

I solved the problem now with a Repeating Expiring Timer, that diminishes itself. Works fine. Sometimes I need just someone to ask me something, so I have to think different ways. Thank You.