diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-14 19:40:04 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-14 19:40:04 +0100 |
| commit | 59409d0520404d83fd8ff32d24659cd7766d63db (patch) | |
| tree | 621a8258ea56c18285bd750c24e8af5e0fcd73c8 /TemplePushing.c4s/System.c4g/Bounce.c.disabled | |
| parent | 7e1c1bdb78b297f66e475b831fb8ba44e711ad2f (diff) | |
| download | tempelschubsen-59409d0520404d83fd8ff32d24659cd7766d63db.tar.gz tempelschubsen-59409d0520404d83fd8ff32d24659cd7766d63db.zip | |
Disable bounce
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Bounce.c.disabled')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Bounce.c.disabled | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Bounce.c.disabled b/TemplePushing.c4s/System.c4g/Bounce.c.disabled new file mode 100644 index 0000000..e2cee50 --- /dev/null +++ b/TemplePushing.c4s/System.c4g/Bounce.c.disabled @@ -0,0 +1,22 @@ +/*-- Makes some objects bounce after hit --*/ + +#strict 2 + +#appendto ROCK +#appendto SWOR +#appendto AXE1 +#appendto ARWP +#appendto SFLN +#appendto FLNT +#appendto EGBL +#appendto EFLN + +protected func Hit() +{ + if (Random(10)) return _inherited(); + SetYDir(-20); + + Sound("Boing"); + + return 1; +} |
