blob: c44285fda7844e0222be47284bf87254ae52d800 (
plain)
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
|
/*-- Regen --*/
#strict 2
global func FxRainStart()
{
SoundLevel("Rain", 100);
return 1;
}
global func FxRainTimer()
{
for (var i; i < 3; ++i)
{
CreateParticle("Raindrop", Random(LandscapeWidth()), 0, 0, 200, Random(300), RGB(170, 170, 255));
}
if (!Random(200)) Sound("Thunders*");
return 1;
}
global func FxFireRainTimer()
{
if (!Random(50)) CreateObject(DFLM, Random(LandscapeWidth()), 0, NO_OWNER);
return 1;
}
|