Thread: Script events
View Single Post
  #24  
Old 02-03-2010, 10:29 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
Wouldn't you just detect when the 'Apply' button was clicked instead?
You can change things, and click the X on the window and those changes still save. I imagine the OK button just closes it as well.

But really why just check the window, when you can check an exact feature. If your script only cares about light effects:

PHP Code:
// Another case where I don't know the name :P
LightEffectsEnabledCheckBox.onAction() { 
  
// Do stuff.

__________________
Quote:
Reply With Quote