Cannot solve or put down Dwemer puzzle box in Uvirith's Legacy mod
In the Telvanni Teleportation platforms quest in Uvirith's Legacy (http://stuporstar.sarahdimento.com/guide/quests-early-on-or-anytime/) the puzzle box cannot be opened (using the correct combination) or put down, once activated. The dialogue buttons stay on screen in apparently an infinite loop. There are no error messages.
The script itself (Uvi_Yagrum_PuzzleBox):
Begin Uvi_Yagrum_PuzzleBox ;Written by Stuporstar. ;This Puzzlebox script creates a combination of button presses to "open" the box. Short OnPCEquip Short PCSkipEquip Short doOnce Short controlvar Short controlvar2 Short button Short SoundPlayed Short Sound2Played Short Sound3Played Set PCSkipEquip To 1 If ( MenuMode == 0 ) If ( OnPCEquip ) MessageBox "This puzzle box looks old and intricate.", "put box away" "twist corner piece", "twist center piece", "twist box in half", "press center piece" Set controlvar To -1 Set OnPCEquip To 2 EndIf EndIf ;Order of buttons pressed can be rearranged to make any combination within this script under controlvar2 variables. If ( controlvar == -1 ) Set Button To ( GetButtonPressed ) If ( button == 0 ) Set controlvar To 0 Set OnPCEquip To 0 ElseIf ( button == 1 ) If ( controlvar2 == 0 ) MessageBox "you hear a faint click" Set Soundplayed To 1 Set controlvar To 0 Set controlvar2 To 1 Set OnPCEquip To 1 ElseIf ( controlvar2 == 1 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 2 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 3 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 EndIf ElseIf ( button == 2 ) If ( controlvar2 == 0 ) MessageBox "nothing happens" Set controlvar To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 1 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 2 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 3 ) MessageBox "you twist the corner of the box and it opens" Set Sound3played To 1 If ( doOnce == 0 ) Set doOnce To 1 EndIf Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 0 EndIf ElseIf ( button == 3 ) If ( controlvar2 == 0 ) MessageBox "nothing happens" Set controlvar To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 1 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 2 ) MessageBox "you hear a faint click" Set Soundplayed To 1 Set controlvar To 0 Set controlvar2 To 3 Set OnPCEquip To 1 ElseIf ( controlvar2 == 3 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 EndIf ElseIf ( button == 4 ) If ( controlvar2 == 0 ) MessageBox "nothing happens" Set controlvar To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 1 ) MessageBox "you hear a faint click" Set Soundplayed To 1 Set controlvar To 0 Set controlvar2 To 2 Set OnPCEquip To 1 ElseIf ( controlvar2 == 2 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 ElseIf ( controlvar2 == 3 ) MessageBox "the box has reset" Set Sound2played To 1 Set controlvar To 0 Set controlvar2 To 0 Set OnPCEquip To 1 EndIf EndIf EndIf ;Only activates the first time box is opened. Can script it to give you anything, place creatures, cast spells, have it teleport you into a hell dimension, whatever. If ( doOnce == 1 ) MessageBox "You find a small folded note inside!" Player->AddItem "bk_uvi_note_Dwe" 1 Journal HT_FyrTeleport 30 Set doOnce To 2 EndIf ;PLACE SOUND FILES HERE If ( SoundPlayed == 1 ) PlaySound, "LockedChest" Set SoundPlayed To 2 ElseIf ( SoundPlayed == 2 ) Set Soundplayed To 0 EndIf If ( Sound2Played == 1 ) PlaySound, "LockedDoor" Set Sound2Played To 2 ElseIf ( Sound2Played == 2 ) Set Sound2played To 0 EndIf If ( Sound3Played == 1 ) PlaySound, "Open Lock" Set Sound3Played To 2 ElseIf ( Sound3Played == 2 ) Set Sound3played To 0 EndIf End
(RM-2970 from redmine: created on 2015-10-22 by Noetic Jun, , closed on 2017-03-14 by nobody, duplicates #3098 (closed))
Edited by redmine