TR_m4_FG_UshuCrown_01_scp
TR_Mainland.esm
Variables
2
Local Variables
state
timer
Source
1begin TR_m4_FG_UshuCrown_01_scp
2
3float timer
4short state
5;global TR_m4_FG_UshuFree
6
7if ( MenuMode )
8 Return
9endif
10
11if ( OnActivate == 1 )
12 if ( GetDisabled == 0 )
13 player->additem "T_De_UNI_UshuDimmuCrown" 1
14 "T_De_SetAshl_UshuDimmuMummy_01"->PlaySound3DVP "T_SndEnv_Landslide01" 0.8, 0.5
15 "T_De_SetAshl_UshuDimmuMummy_01"->PlaceAtMe "T_Glb_Var_ShockWaveFX_01" 1 1 1
16 set timer to 0
17 set state to 1
18 Journal "TR_m4_FG_UshuKur5" 100
19 set TR_m4_FG_UshuFree to 1
20 disable
21 endif
22endif
23
24if ( state == 1 )
25 if ( timer >= 2 )
26 "T_De_SetAshl_UshuDimmuMummy_01"->PlaySound3D "T_SndEnv_UshuKurMineSound"
27 set state to 2
28 endif
29endif
30
31set timer to ( timer + GetSecondsPassed )
32
33end