View Single Post
  #12  
Unread 03-02-2005, 04:51 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

Actually, the "once to initialize" theory is incorrect. The script only executes as a command if the object's property is already set to what you're trying to execute.

Edit: Or maybe OnPress scripts are different from OnHide scripts? These were tested with a button.

As demonstrated by these scripts:


The following results in no output:
Code:
say='Initialize'
say='This is test 1, quotes only'
say=('This is test 2, order 1')
say='(This is test 3, order 2)'
The following only outputs "This is test 1, quotes only"
Code:
say='This is test 1, quotes only'
say='This is test 1, quotes only'
say=('This is test 2, order 1')
say='(This is test 3, order 2)'

The following two scripts only output You say, "This is test 1, quotes only"
Code:
say='This is test 1, quotes only' say='This is test 1, quotes only' say=('This is test 2, order 1') say='(This is test 3, order 2)'
Code:
say=('This is test 2, order 1') say='(This is test 3, order 2)' say='This is test 1, quotes only' say='This is test 1, quotes only'

The following outputs each line once:
Code:
say='This is test 1, quotes only' say='This is test 1, quotes only'
say=('This is test 2, order 1') say=('This is test 3, order 1')
say='(This is test 3, order 2)' say='(This is test 3, order 2)'
The following shows Inventory and Knowledge, but not Waypoint:
Code:
show_window=(Inventory.Inventory)
show_window=(Inventory.Inventory)
show_window=(MainHUD.Waypoint)
show_window=(MainHUD.Knowledge) show_window=(MainHUD.Knowledge)
The following shows Inventory and Waypoint, but not Knowledge:
Code:
show_window=(Inventory.Inventory)
show_window=(Inventory.Inventory)
show_window=(MainHUD.Waypoint)
show_window=(MainHUD.Waypoint)
show_window=(MainHUD.Knowledge)

Edit: Conclusion first.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 03-02-2005 at 05:05 AM.
Reply With Quote