View Single Post
04/15/14, 10:10 AM   #5
Ouijan
 
Ouijan's Avatar
Join Date: Apr 2014
Posts: 13
Originally Posted by Total-Khaos View Post
You saw the same things I did.
tehe

@Zireko
Cool man getting there! you need to give EVERYTHING on the screen a different name otherwise the game will have issues drawing it (learnt from experience xD) so where you have each <Label name="$(parent)"> it is essentially saying <Label name="QuestMaster"> because the parent frame of each label is your TopLevelControl which is named "QuestMaster". Currently your backdrop will be named it "QuestMasterBG" which is good, so stick something after the "$(parent)" in your <Label>s

The name of each frame is its identifier, you cant have two frames with the same name or the ui freaks out and doesn't know which frame to do what to :P

For the functions you only really need to have one function in the <OnMouseDown> (or <OnMouseUp> your choice) to toggle between two colours when clicked at the moment you don't need an OnUpdate
  Reply With Quote