Difference between revisions of "Talk:MessageBox Tutorial"

62 bytes added ,  03:51, 29 August 2007
updating script so it will actually work as intended
imported>ShadowDancer
(Spells and MenuMode)
imported>ShadowDancer
(updating script so it will actually work as intended)
Line 131: Line 131:
  ''    ElseIf (Timer > 0)
  ''    ElseIf (Timer > 0)
  ''      Set Timer to Timer - GetSecondsPassed
  ''      Set Timer to Timer - GetSecondsPassed
  ''    ElseIf (Timer <= 0)
  ''    ElseIf (Timer < 0)
  ''      StopMagicShaderVisuals ;place effect shader Editor ID here i.e. effectEnchantMysticism
  ''      StopMagicShaderVisuals ;place effect shader Editor ID here i.e. effectEnchantMysticism
  ''      Player.Dispel ;place spell Editor ID using script here i.e. SplMenuVariables
  ''      Player.Dispel ;place spell's Editor ID using script here i.e. SplMenuVariables
''      Set Timer to 0
  ''    EndIf
  ''    EndIf
   
   
Line 139: Line 140:
   
   
  End
  End
''Begin ScriptEffectFinish
''End


::::::The things I would add are the italicized sections and just remove the ScriptEffectFinish block. Setting the Duration on the spell to 30 should give someone more than enough time to make a choice on a smaller menu and to even flip between menus.  If the menus are more complex requiring more time, just raise the Duration of the spell to give them more time. Any change that clicking the button does can be done when the GetButtonPressed returns a value. The Dispel will get rid of the active spell and no worries about a spell hanging there doing nothing.
::::::The things I would add are the italicized sections and just remove the ScriptEffectFinish block. Setting the Duration on the spell to 30 should give someone more than enough time to make a choice on a smaller menu and to even flip between menus.  If the menus are more complex requiring more time, just raise the Duration of the spell to give them more time. Any change that clicking the button does can be done when the GetButtonPressed returns a value. The Dispel will get rid of the active spell and no worries about a spell hanging there doing nothing.
Anonymous user