diff options
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; +} |
