From 6afb3c02f851f27a8aee478059a7eb9bd3ec4120 Mon Sep 17 00:00:00 2001 From: Jan <> Date: Fri, 13 Feb 2015 17:11:37 +0100 Subject: Overload whole frostwave script to allow custom radii and make ice cast a frostwave --- TemplePushing.c4s/System.c4g/Ice.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 TemplePushing.c4s/System.c4g/Ice.c (limited to 'TemplePushing.c4s/System.c4g/Ice.c') diff --git a/TemplePushing.c4s/System.c4g/Ice.c b/TemplePushing.c4s/System.c4g/Ice.c new file mode 100644 index 0000000..329d013 --- /dev/null +++ b/TemplePushing.c4s/System.c4g/Ice.c @@ -0,0 +1,20 @@ +/*--- Eisklumpen ---*/ + +#strict 2 + +#appendto ICE1 + +local hit; + +protected func Hit() +{ + if (!hit) + { + var frostwave = CreateObject(MFWV, 0, 0, NO_OWNER); + frostwave->SetMaxRadius(60); + frostwave->Activate(this); + hit = true; + } + + return _inherited(); +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf