diff options
| author | Jan <> | 2015-02-02 17:58:18 +0100 |
|---|---|---|
| committer | Jan <_> | 2015-07-10 17:51:43 +0200 |
| commit | ca61c54b9bd69af897e4cc9d4385137fb56fd11a (patch) | |
| tree | a4363f466cea6de48ca81fadc08273d58698d2ff /TemplePushing.c4s/System.c4g/Vanish.c | |
| parent | 32a9632fbca3dd7a88bd3154b84a3773af39c276 (diff) | |
| download | tempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.tar.gz tempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.zip | |
TemplePushingBeta.c4s
Diffstat (limited to 'TemplePushing.c4s/System.c4g/Vanish.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Vanish.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/Vanish.c b/TemplePushing.c4s/System.c4g/Vanish.c new file mode 100644 index 0000000..37d1d78 --- /dev/null +++ b/TemplePushing.c4s/System.c4g/Vanish.c @@ -0,0 +1,28 @@ +/*-- Make certain items vanish --*/ + +#strict 2 + +#appendto ARRW +#appendto FARW +#appendto TSWB +#appendto SPER + +protected func Hit() +{ + if (GetID() == FARW) + { + Schedule("RemoveObject()", 80, 0, 0); + } + else if (GetID() == SPER) + { + Schedule("RemoveObject()", 50, 0, 0); + } + else + { + CastParticles("MSpark", 20,5, 0,0, 25, 30, RGBa(128,128,255,0), RGBa(255,255,255,127)); + RemoveObject(); + return 1; + } +} + + |
