Elseif sChoosing == 2 MessageBoxEX "Torch Brightness Options %rBrightness Increments Index: %.0f %rCurrent Brightness: %.0f|Increase Increments|Increase Brightness|Decrease Brightness|Back", aaaMalonnDropLitTorches.lBrightIncr, lCurrentBrightness Set sChoosing to -2 Set sChoice to -1 Elseif sChoosing == -2 Set sChoice to GetButtonPressed If sChoice == -1 Return Elseif sChoice == 0 Set aaaMalonnDropLitTorches.lBrightIncr to aaaMalonnDropLitTorches.lBrightIncr + 10 Set sChoosing to 2 Elseif sChoice == 1 If sTorchOnce == 0 Set l2LightRadius to l2LightRadius + lCurrentBrightness Set sTorchOnce to 1 Else Set l3LightRadius to l2LightRadius + aaaMalonnDropLitTorches.lBrightIncr Endif SetLightRadius l3LightRadius Torch02 Set sChoosing to 2 Elseif sChoice == 2 If sTorchOnce2 == 0 Set l4LightRadius to l4LightRadius + lCurrentBrightness Set sTorchOnce2 to 1 Else Set l3LightRadius to l4LightRadius - aaaMalonnDropLitTorches.lBrightIncr Endif SetLightRadius l3LightRadius Torch02 Set sChoosing to 2 Elseif sChoice == 3 Set sChoosing to 1 Endif Endif
...isn't doing what I want it to. I'm trying to make torches brighter by using a menu. Problem is, when pressing button 1, the torch radius resets, and then the next time I pres the button it gets brighter the way it should. Then, if I press the button again, nothing happens. If I press button 3, the torch light radius is subtracted one time. If I press Button 3 any more, nothing happens. I can then toggle back and forth between adding and subtracting torch light radius, but that's it. Nothing happens beyond that. Any idea why? The script looks solid to me. I'm at a loss.