EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-14-2006, 04:53 PM
Erahain Erahain is offline
A Crazed Gnoll
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 23
Default 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"
OnDeactivateEffector="MyEffector2"
OnEffectFinished="Activated = ! Activated"
This will crash your stack, and eventually your game.

I found little use for it, maybe someone else does?

Daniel

Edit: Added ED -Deathbane27

Last edited by Deathbane27 : 01-14-2006 at 08:30 PM.
Reply With Quote
  #2  
Unread 01-14-2006, 06:48 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

When did THIS get added!?!?!


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?
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #3  
Unread 01-14-2006, 07:09 PM
Erahain Erahain is offline
A Crazed Gnoll
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 23
Default

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" 
OnEffectFinish="Parent.MyButton.LocalText = finished">
<LocationEffector Name="MyEffector" TargetLocation="30,0" Speed="1,0"
 SetOnEffect="true" />
</Page>
Reply With Quote
  #4  
Unread 01-14-2006, 07:38 PM
Erahain Erahain is offline
A Crazed Gnoll
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 23
Default

CORRECTION : OnEffectFinished not OnEffectFinish
'ed' fell off ; )
Reply With Quote
  #5  
Unread 01-14-2006, 08:05 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

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.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #6  
Unread 01-14-2006, 08:31 PM
Erahain Erahain is offline
A Crazed Gnoll
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 23
Default

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 =)
Reply With Quote
  #7  
Unread 01-14-2006, 08:31 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Quote:
Originally Posted by Erahain
CORRECTION : OnEffectFinished not OnEffectFinish
'ed' fell off ; )
Thread title edited.
__________________
If it ain't broke, it needs more features!
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:52 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI