diff options
| author | Jan <> | 2015-02-02 17:53:07 +0100 |
|---|---|---|
| committer | Jan <_> | 2015-07-10 17:48:38 +0200 |
| commit | 40fb3e5d61c44886b06d839a35adb0c11a5f918f (patch) | |
| tree | f33632c8b41f1c3e955a83cd156266a73a4ae9c3 /TemplePushing.c4s/System.c4g/FireBomb.c | |
| parent | f5a80c493dcefbc8f45987b8fd454d974f739cf7 (diff) | |
| download | tempelschubsen-40fb3e5d61c44886b06d839a35adb0c11a5f918f.tar.gz tempelschubsen-40fb3e5d61c44886b06d839a35adb0c11a5f918f.zip | |
CliffPushR2.c4s
Diffstat (limited to 'TemplePushing.c4s/System.c4g/FireBomb.c')
| -rw-r--r-- | TemplePushing.c4s/System.c4g/FireBomb.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/TemplePushing.c4s/System.c4g/FireBomb.c b/TemplePushing.c4s/System.c4g/FireBomb.c new file mode 100644 index 0000000..85ea01c --- /dev/null +++ b/TemplePushing.c4s/System.c4g/FireBomb.c @@ -0,0 +1,21 @@ +#strict +#appendto FBMP + +func Activate(pClonk) +{ + [$Shot$|Image=GNPW] + Sound("Blast2"); + Exit(this(),-10+20*GetDir(pClonk)); + SetXDir(-80+160*GetDir(pClonk)); + SetYDir(-10); + return(1); +} + +func Hit() +{ + if (Random(2)) return(_inherited()); + else + SetYDir(-20); + Sound("BOING"); + return(1); +} |
