HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A constant trigger with dynamic TriggerAction

01-11-2009, 06:52 AM#1
chobibo
Are there problems concerning triggers with dynamic triggeractions? I could have tested it myself but I don't know how, I tried removing a ta with no waits and a ta with waits, and it didn't increase the handle Id, still I don't trust that it won't do anything weird. Thanks for any information.
01-11-2009, 10:09 AM#2
Blackroot
You might get some problems removing the TriggerActions down the line, I seem to recall someone saying that if you remove a TriggerAction well it's running it will cause problems.

However, the best thing to do is to make a code which adds and removes actions with a periodic constant trigger and see if it starts lagging/breaking.
01-11-2009, 11:41 AM#3
DioD
There is no problem if you not using trigger sleep action.
01-11-2009, 12:41 PM#4
chobibo
Quote:
Originally Posted by DioD
There is no problem if you not using trigger sleep action.
Yes that's what happened to my tests, as long as I don't use sleeps I get no leaks but when I tried adding a sleep in the triggeraction it leaked.

Thanks to the info guys.