diff options
Diffstat (limited to 'TemplePushing.c4s/Environment.c4d/Snow.c4d/Script.c')
| -rw-r--r-- | TemplePushing.c4s/Environment.c4d/Snow.c4d/Script.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Environment.c4d/Snow.c4d/Script.c b/TemplePushing.c4s/Environment.c4d/Snow.c4d/Script.c new file mode 100644 index 0000000..5757711 --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/Snow.c4d/Script.c @@ -0,0 +1,21 @@ +/*-- Schnee-Effekt --*/ + +#strict + +protected func Initialize() { + if(!IsNewgfx()) RemoveObject(); + SetPosition(0,0); +} + +func Snowing() { + + PushParticles("Snow2",RandomX(-7,7)); + for(var x; x<4; x++) + { + CreateParticle("Snow2",Random(LandscapeWidth()),0,0,25,RandomX(50,80),0); + CreateParticle("Snow2",Random(LandscapeWidth()),0,0,21,RandomX(30,50),0); + CreateParticle("Snow2",Random(LandscapeWidth()),0,0,17,RandomX(10,30),0); + CreateParticle("Snow2",Random(LandscapeWidth()),0,0,35,RandomX(80,100),0); + } +} + |
