From 59409d0520404d83fd8ff32d24659cd7766d63db Mon Sep 17 00:00:00 2001 From: Mittendrein Markus Date: Sun, 14 Feb 2016 19:40:04 +0100 Subject: Disable bounce --- TemplePushing.c4s/System.c4g/Bounce.c.disabled | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 TemplePushing.c4s/System.c4g/Bounce.c.disabled (limited to 'TemplePushing.c4s/System.c4g/Bounce.c.disabled') 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; +} -- cgit v1.2.3-54-g00ecf