Scripts

TR_m4_AA_Tomb_2_Emerald_Sc

TR_Mainland.esm
Variables 1
Local Variables
timer
Source
1begin TR_m4_AA_Tomb_2_Emerald_Sc 2 3float timer 4 5if ( MenuMode ) 6 return 7endif 8 9if ( OnActivate ) 10 MessageBox "Your whole body feels like it wants to take control of your brain and run out." 11 Disable 12 player->AddItem "ingred_emerald_01" 1 13 set timer to 1 14endif 15 16if ( timer > 0 ) 17 set timer to ( timer + GetSecondsPassed ) 18 if ( CellChanged ) 19 set timer to 0 20 endif 21 if ( timer > 30 ) 22 player->PositionCell -2249.962 2325.566 14618.893 8 "Madalvel Ancestral Tomb" 23 set timer to 0 24 endif 25endif 26 27end