From 32a9632fbca3dd7a88bd3154b84a3773af39c276 Mon Sep 17 00:00:00 2001 From: Jan <> Date: Mon, 2 Feb 2015 17:55:29 +0100 Subject: TemplePush v6.1.7601.18409.c4s --- TemplePushing.c4s/Locals.c4d/Brick.c4d/Script.c | 30 ------------------------- 1 file changed, 30 deletions(-) delete mode 100644 TemplePushing.c4s/Locals.c4d/Brick.c4d/Script.c (limited to 'TemplePushing.c4s/Locals.c4d/Brick.c4d/Script.c') diff --git a/TemplePushing.c4s/Locals.c4d/Brick.c4d/Script.c b/TemplePushing.c4s/Locals.c4d/Brick.c4d/Script.c deleted file mode 100644 index 02b3933..0000000 --- a/TemplePushing.c4s/Locals.c4d/Brick.c4d/Script.c +++ /dev/null @@ -1,30 +0,0 @@ -/*-- Brick --*/ - -#strict -local pSchatten; -local fVer,iYL,iYH; - -func Initialize() { - SetAction("Flying"); - SetPhase(Random(2)); - SetDir(Random(2)); - ContactTop(); - iYL = 650; - iYH = 100; - return(1); -} - -func ContactBottom() { SetYDir(-10); } -func ContactTop() { SetYDir(10); } - -func CheckHit() -{ - if (GetXDir() == 0 && GetYDir() == 0) - { - SetXDir(RandomX(-100,100)); - SetYDir(RandomX(-100,100)); - } - if (GetY() >= iYL) ContactBottom(); - if (GetY() <= iYH) ContactTop(); - return(1); -} \ No newline at end of file -- cgit v1.2.3-54-g00ecf