EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 03-09-2012, 09:58 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default Effector reset

I'm having trouble resetting an Effector after it's finished.

The element:
Code:
<Image Location="-40,0" Name="Progress" OnEffectFinished="Parent.Reset.press=true" OnShowEffector="FillIn" Size="40,4" >
effector:
Code:
<LocationEffector Name="FillIn" setoneffect="true" Speed="20,0" TargetLocation="0,0" />
The Reset:
Code:
<Button Name="Reset" OnPress="Parent.Bar.Visible=false&#xD;&#xA;Parent.Bar.Visible=true" Style="/ButtonStyles.invisible" Visible="false" />
The effector works once, but then the element stays Visible.
No matter what I do I can't seem to get the bar to Reset to default location, hide, and replay the animation. Am I missing something? Too little sleep?

If I try to directly hide the element after the effector finishes, the game seems to crash. So does the UIBuilder. I can cause another element show, even a copy of the same one, but trying to hide the initial element via script = crash.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 03-10-2012 at 03:32 AM.
Reply With Quote
 



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 12:52 PM.


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