Scripts

TR_m3_OE_FG_q_AmuGTScr

TR_Mainland.esm
Variables 4
Local Variables
button
messageOn
reset
OnPcEquip
Source
1Begin TR_m3_OE_FG_q_AmuGTScr 2 3; Old Ebonheart Fighters Guild; 4; Script on the Amulet of Grey Tides (quest reward). 5 6; Note: In Poison Song the amulet was removed from the OE FG 7; and put as loot in Ishbi. 8 9short button 10short messageOn 11short reset 12short OnPcEquip 13 14;if ( MenuMode == 1 ) 15; Return 16;endif 17 18if ( OnPCEquip == 0 ) 19 set reset to 0 20endif 21 22if ( reset == 1 ) 23 return 24endif 25 26if ( OnPCEquip == 1 ) 27 if ( reset == 0 ) 28 Set OnPCEquip to 0 29 MessageBox "The amulet has two different colored sides, which side would you like to display outwards?" "White" "Black" 30 set messageOn to 1 31 endif 32endif 33 34if ( messageOn == 1 ) 35 36 set button to GetButtonPressed 37 38 if ( button >= 0 ) 39 set messageOn to 0 40 endif 41 42 if ( button == 0 ) 43 Messagebox, "The amulet becomes bright white." 44 Set "TR_m3_OE_FG_TideAmuGlob".direction to 0 45 StartScript TR_m3_OE_FG_TideAmuGlob 46 set reset to 1 47 48 elseif ( button == 1 ) 49 Messagebox, "The amulet becomes deep black." 50 Set "TR_m3_OE_FG_TideAmuGlob".direction to 1 51 StartScript TR_m3_OE_FG_TideAmuGlob 52 set reset to 1 53 endif 54endif 55 56 57End