Thread: Timed event
View Single Post
  #2  
Unread 05-10-2007, 10:54 AM
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

Create an EffectorCycleColor. Set MinSpeed, MaxSpeed, and Speed to 1.0, and Duration to however long you want it to wait.

In the window's OnShow script, have it show a dummy object. Also have it re-hide the object in the window's OnHide script.

Set the dummy's OnShowEffector to the EffectorCycleColor you created, and have the OnEffectorFinish event trigger the button press.

Note 1: It works in UIBuilder, can't test in-game at this point.

Note 2: I highly recommend against creating such a window unless you put in a way to turn the feature off in-game. Accidentally looting Fabled no-trade items you can't use while in a group makes me sad. You won't like me when I'm sad. Maybe have it check the status of the Titlebar or something.
__________________
If it ain't broke, it needs more features!
Reply With Quote