diff options
Diffstat (limited to 'TemplePushing.c4s/CliffPushing.c4d/Rain.c4d/FlintRain.c4d/Script.c')
| -rw-r--r-- | TemplePushing.c4s/CliffPushing.c4d/Rain.c4d/FlintRain.c4d/Script.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/TemplePushing.c4s/CliffPushing.c4d/Rain.c4d/FlintRain.c4d/Script.c b/TemplePushing.c4s/CliffPushing.c4d/Rain.c4d/FlintRain.c4d/Script.c new file mode 100644 index 0000000..8fdcf9d --- /dev/null +++ b/TemplePushing.c4s/CliffPushing.c4d/Rain.c4d/FlintRain.c4d/Script.c @@ -0,0 +1,23 @@ +/*-- Flintregen --*/ + +#strict + +protected func Initialize() { + SetPosition(0,0); + AddEffect("Flnt",0,1,20,0,GetID()); + return(1); +} + +func FxFlntTimer() +{ + if (!Random(20)) + { + //Wurmloch + CreateObject(MGWP,Random(LandscapeWidth()),Random(LandscapeHeight()))->Activate(FindObject()); + //Und einmal Free-Shaken + ShakeFree(Random(LandscapeWidth()),Random(LandscapeHeight()),Random(100)); + } + //Zum Schluss noch ein kleines Geschenk des Himmels + var flnt = CreateObject(SFLN,Random(LandscapeWidth()),0); + return(1); +} |
