summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Ice.c
diff options
context:
space:
mode:
authorJan <>2015-02-13 17:11:37 +0100
committerJan <_>2015-07-10 18:46:25 +0200
commit6afb3c02f851f27a8aee478059a7eb9bd3ec4120 (patch)
treeaf27482650137c2b49019977bebfcdcb84aeee4a /TemplePushing.c4s/System.c4g/Ice.c
parent5b3888901698e86ad3c49465dd298486976f91f8 (diff)
downloadtempelschubsen-6afb3c02f851f27a8aee478059a7eb9bd3ec4120.tar.gz
tempelschubsen-6afb3c02f851f27a8aee478059a7eb9bd3ec4120.zip
Overload whole frostwave script to allow custom radii and make ice cast a frostwave
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Ice.c')
-rw-r--r--TemplePushing.c4s/System.c4g/Ice.c20
1 files changed, 20 insertions, 0 deletions
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