![]() |
OnEffectFinished
OnEffectFinished is an event that is posted to the target of an Effector, when the effector is done.
Set the SetOnEffect on the Effector to true, and you should be good to go. You cannot, however, do something like this: Code:
OnActivateEffector="MyEffector"I found little use for it, maybe someone else does? Daniel Edit: Added ED -Deathbane27 |
When did THIS get added!?!?!
:eek: :eek: :eek: :eek: :eek: Repeating cycles are a Bad ThingTM, but does it work for, say, delaying an action? Press a button, trigger a 5-second Effector, then trigger something else when the effector is finished? |
Yeah that works =) It's the perfect delay event.
Might want to mod this one in order to get it to work =P This is basically a 30s delay. Code:
<Page Name="Randomness" Size="1,1" Location="0,0" OnActivateEffector="MyEffector" |
CORRECTION : OnEffectFinished not OnEffectFinish
'ed' fell off ; ) |
Erahain being you are on a roll maybe you can figure out the clock object. I've tried every thing I can think of. I've use properties of activate, count, maxcount, mincount position ect.. nothing seems to work with it, but yet its an object that is built into the UIBuilder so it has to be there for some reason.
|
Quote:
|
I'll look into it, but I think that's something they haven't implemented
yet. Thus no properties exists for it =) I'm currently working on a library interface module called EQ2Ext which adds arrays, dynamic lists, for/while loops, timer events and so on. How many would be interested in such a thing you think? It's written purely in XML, so no random modifications.. just loads of workarounds =) |
Quote:
I also think there are a other things that the ui can do that they havn't told us or maybe don't know /shrug Like FontCharacter Its not an object you can inject with the uibuilder you have to edit it in to the XML. I'm just wondering what else is out there that isn't in the UIbuilder. You lib sounds great, I've started on somethings kind of like that, but if your doing it I'll hold off as my progress is slow between work,playing and the kids. |
Quote:
|
Maybe I just build my own, I have never never used it. But still the FontCharacter isn't listed in the object pallet but yet it is a legal object. I guess you could use Aplication Object to add not real sure how that works either lol.
|
The OnEffectFinished item is great! I've been using it off and on in different mods for a while.
The mail mod uses it to update the text box description of the attachment, my price entry mod used to use 4 of them to key in the price it had in memory, one button every 0.2 seconds - until I found out it was possible to just press all the buttons at the same time and still get them to execute in a predictable order. One caution: A window cannot close while an effector is running, so if you have a 30 second delay going on, but someone wants to close the window - they'll be staring at it until your effector finishes. I'm also using an effector in the cartesian addition thread in this forum about adding coordinates together. The fastest speed I've found that does anything is 9.9 - 10 and anything that rounds to 10 appears to be infinite speed. Maybe they used the Star Trek Warp Scale? Two Caution: Messing with OnEffectFinished seems to be a REALLY good way to crash UI Builder. Save your beautiful work before touching it. Nice innocous looking pieces of code swing up the "UIBuilder needs to close" window. Good Luck Mother |
| All times are GMT -5. The time now is 10:53 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI