home *** CD-ROM | disk | FTP | other *** search
- #standard type magnetic tram cog.
- #don't forget to set blocking walls to "no move"
- symbols
- message startup
- message user0
- message timer
- thing AD1
- keyframe idledancekey
- thing idlecamera
- thing headtarget
- thing foottarget
- thing footcamera
- cog ebdncog
-
- end
-
- ## Code Section
- code
- startup:
- user0:
- print("idlecamcog activate");
- setthinglight(AD1, 0.5, 0);
- setcamerafocii(2, headtarget, idlecamera);
- setcurrentcamera(2);
- playkey(AD1, idledancekey, 1, 0);
- settimer(3);
- return;
-
- timer:
- setcamerafocii(2, foottarget, footcamera);
- setcurrentcamera(2);
- sleep(3);
- sendmessage(ebdncog, user1);
- return;
-
-
- end
-
-
-