summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/LavaRain.c
diff options
context:
space:
mode:
authorJan <>2015-02-02 17:58:18 +0100
committerJan <_>2015-07-10 17:51:43 +0200
commitca61c54b9bd69af897e4cc9d4385137fb56fd11a (patch)
treea4363f466cea6de48ca81fadc08273d58698d2ff /TemplePushing.c4s/System.c4g/LavaRain.c
parent32a9632fbca3dd7a88bd3154b84a3773af39c276 (diff)
downloadtempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.tar.gz
tempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.zip
TemplePushingBeta.c4s
Diffstat (limited to 'TemplePushing.c4s/System.c4g/LavaRain.c')
-rw-r--r--TemplePushing.c4s/System.c4g/LavaRain.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/LavaRain.c b/TemplePushing.c4s/System.c4g/LavaRain.c
new file mode 100644
index 0000000..22369e0
--- /dev/null
+++ b/TemplePushing.c4s/System.c4g/LavaRain.c
@@ -0,0 +1,18 @@
+/*-- Lavaregen --*/
+
+#strict 2
+
+global func FxLavaRainStart()
+{
+ SoundLevel("Rain", 10);
+ return 1;
+}
+
+global func FxLavaRainTimer()
+{
+ for (var i; i < 5; ++i)
+ {
+ CreateParticle("LavaRaindrop", Random(LandscapeWidth()), 0, 0, 200, Random(300), RGB(255, 255, 0));
+ }
+ return 1;
+}