Scripts

TR_Sir_Aar_Scpt_Dubious

TR_Mainland.esm
Variables 4
Local Variables
OnPCEquip
SummonTest
DoOnce
Timer
Source
1Begin TR_Sir_Aar_Scpt_Dubious 2 3short OnPCEquip 4short SummonTest 5short DoOnce 6float Timer 7 8if ( OnPCEquip == 0 ) 9 Set Timer to 0 10 Return 11endif 12 13if ( Menumode == 1 ) 14 Return 15endif 16 17if ( OnPCEquip == 1 ) 18 if ( DoOnce == 0 ) 19 Messagebox "You feel a strange sense of foreboding overcome you." 20 set DoOnce to 1 21 endif 22 if ( Timer > 10 ) 23 Set SummonTest to Random 14 24 if ( SummonTest == 0 ) 25 PlaceAtPC "Scamp" 1 128 1 26 elseif ( SummonTest == 1 ) 27 PlaceAtPC "Clannfear" 1 128 1 28 elseif ( SummonTest == 2 ) 29 PlaceAtPC "Hunger" 1 128 1 30 elseif ( SummonTest == 3 ) 31 PlaceAtPC "Ogrim" 1 128 1 32 elseif ( SummonTest == 4 ) 33 PlaceAtPC "Ogrim Titan" 1 128 1 34 elseif ( SummonTest == 5 ) 35 PlaceAtPC "Daedroth" 1 128 1 36 elseif ( SummonTest == 6 ) 37 PlaceAtPC "Winged Twilight" 1 128 1 38 endif 39 set Timer to 0 40 Return 41 endif 42endif 43 44set Timer to Timer + GetSecondsPassed 45 46end