Scripts

TR_m4_FG_UshuDimmuCrea02_scp

TR_Mainland.esm
Variables 3
Local Variables
disableOnce
control
timer
Source
1begin TR_m4_FG_UshuDimmuCrea02_scp 2 3;script for the second Ushu-Dimmu creature 4 5;global TR_m4_FG_UshuFree 6 7short disableOnce 8short control 9float timer 10 11if ( disableOnce == 0 ) 12 disable 13 set disableOnce to 1 14endif 15 16if ( TR_m4_FG_UshuFree == 4 ) 17 if ( GetDisabled == 1 ) 18 enable 19 PlaceAtMe "T_Glb_Var_SummonFX" 1 1 1 20 "T_De_SetAshl_UshuDimmuMummy_01"->disable 21 set control to 1 22 set timer to 0 23 endif 24endif 25 26if ( control == 1 ) 27 if ( timer >= 2 ) 28 ForceGreeting 29 SetFight 90 30 startcombat, player 31 set control to 2 32 endif 33endif 34 35set timer to ( timer + GetSecondsPassed ) 36 37end