TR_m3_MG_OE_Q7_Crate2_sc
TR_Mainland.esm
Variables
1
Local Variables
timer
Source
1Begin TR_m3_MG_OE_Q7_Crate2_sc
2
3float timer
4
5if ( MenuMode == 0 )
6 set timer to ( timer + GetSecondsPassed )
7
8 ;rotate up
9 if ( timer < 1 )
10 Rotate z 100
11
12 ;rotate down
13 elseif ( timer < 3 )
14 Rotate z -100
15
16 ;up again
17 elseif ( timer < 4 )
18 Rotate z 100
19
20 ;reset timer to zero
21 else
22 set timer to 0
23 endif
24endif
25
26end