1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
### Watermesh
id=226
name=watermesh
group=stuff
icon=gfx\water.bmp
model=gfx\watermesh1.b3d
mat=water
scale=1
script=start
	on:load {
		$count=1;
		timer 0,100,0,"watermeshtimer";
	}
	on:watermeshtimer {
		if ($count==1) {
			texture "gfx\water.jpg";
			$count++;
		} elseif ($count==2) {
			texture "gfx\water2.jpg";
			$count++;
		} elseif ($count==3) {
			texture "gfx\water2.jpg";
			$count=1;
		}
	}
script=end