summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/System.c4g/Vanish.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Vanish.c')
-rw-r--r--TemplePushing.c4s/System.c4g/Vanish.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/TemplePushing.c4s/System.c4g/Vanish.c b/TemplePushing.c4s/System.c4g/Vanish.c
index 37d1d78..8eae5cb 100644
--- a/TemplePushing.c4s/System.c4g/Vanish.c
+++ b/TemplePushing.c4s/System.c4g/Vanish.c
@@ -11,17 +11,24 @@ protected func Hit()
{
if (GetID() == FARW)
{
- Schedule("RemoveObject()", 80, 0, 0);
+ Schedule("CastParticles(\"MSpark\", 20, 5, 0, 0, 25, 30, RGBa(128,128,255,0), RGBa(255,255,255,127))", 69, 0, 0);
+ Schedule("RemoveObject()", 70, 0, 0);
}
else if (GetID() == SPER)
{
+ Schedule("CastParticles(\"MSpark\", 20, 5, 0, 0, 25, 30, RGBa(128,128,255,0), RGBa(255,255,255,127))", 49, 0, 0);
Schedule("RemoveObject()", 50, 0, 0);
}
+ else if (GetID() == TSWB)
+ {
+ CastParticles("Snow", 50, 20, 0, 0, 50, 80, RGBa(255,255,255,0), RGBa(255,255,255,0));
+ Schedule("RemoveObject()", 2, 0, 0);
+ }
else
{
- CastParticles("MSpark", 20,5, 0,0, 25, 30, RGBa(128,128,255,0), RGBa(255,255,255,127));
- RemoveObject();
- return 1;
+ CastParticles("MSpark", 20, 5, 0, 0, 25, 30, RGBa(128,128,255,0), RGBa(255,255,255,127));
+ Schedule("RemoveObject()", 5, 0, 0);
+ return _inherited();
}
}