View Single Post
  #3  
Unread 07-25-2010, 11:59 AM
Draakthor's Avatar
Draakthor Draakthor is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 22
Default

Thanks for the reply, I went back and fiddled some and somehow fixed the data passing issue (not sure what was wrong).

Having a slightly different issue now with the class detection. Here's the OnShow script for the main window page:
Code:
CLASS=Subclass.Text
ISCLASSA=(CLASS == ClassDataA.Class.ClassName)
ISCLASSB=(CLASS == ClassDataB.Class.ClassName)
ISCLASSC=(CLASS == ClassDataC.Class.ClassName)
ISCLASSD=(CLASS == ClassDataD.Class.ClassName)
ISCLASSE=(CLASS == ClassDataE.Class.ClassName)
ClassA.Press=ISCLASSA
ClassB.Press=ISCLASSB
ClassC.Press=ISCLASSC
ClassD.Press=ISCLASSD
ClassE.Press=ISCLASSE
"Subclass" is receiving the dynamicdata for Self.Subclass properly, yet all five ClassX buttons are getting pressed when the window shows. I was under the impression that (A == B) returns a boolean value, is this not the case or is there something else wrong here?

EDIT: I should add, the data for each Class.ClassName is different. A is "Paladin", B is "Monk", etc.

EDIT2: I'm just confused as heck now. Debugging textboxes show that, while logged in as a paladin, ISCLASSA = "true" and ISCLASSB = "false". So why is ClassB getting pressed...?

Last edited by Draakthor : 07-25-2010 at 12:48 PM.
Reply With Quote