Thread: Onset varible
View Single Post
  #1  
Unread 03-27-2011, 04:09 PM
Draven_Caine's Avatar
Draven_Caine Draven_Caine is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2009
Server: Unrest
Posts: 155
Default Onset varible

I have an option in my collections window that when you hit the add button it adds the collectible to the collection (normal) and than auto closes the window.

Now instead of having this on the add button all the time, i wish to add a checkbox at the bottom of the window that sets this variable.

OnSet=Parent.Parent.CollectionTemplate.AddButton.OnPress='hide_window Journals.JournalsQuest'
UnSet=Parent.Parent.CollectionTemplate.AddButton.OnPress='' (blank so it removes the behavior)

This is all done thru the default window so the hierarchy and such is normal other than the on added checkbox i added at the bottom, which is at the same location as the other 2 checkboxes.

Now my issues is the checkbox doesnt change the OnPress varible when in-game. What am I doing wrong here?

Thanks,
Draven
Reply With Quote