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