View Single Post
  #1  
Unread 03-12-2010, 12:40 PM
Lakih Lakih is offline
A Young Mystail Rat
 
Join Date: Jan 2008
Server: Permafrost
Posts: 5
Default fire two action on onshow

Hi.

I've spent a couple of hours searching but i cant wrap my head around a little issue i'm having.

Is it possible to fire two actions on an event?

When i open a window (onshow) i want the ui to automagicly press two buttons (for two different calculations).

Pseudo code:
OnShow=Button1.press=true Button2.press=true

or something like that... Is it possible?

What i'm trying to do:

I have in my inventory window some basic stats, like resists and defensive stats. I have one button that calculates average resists and want to add another button in the same window that calculates avoidance.

I managed to figure out how to do average resists by stealing drumstix awesome sollution (thanks man ) but i want to do the same thing with another value... in the same window...

It seems like such a simple problem but i cant figure it out
Reply With Quote