home *** CD-ROM | disk | FTP | other *** search
- # Jedi Knight Cog Script
- #
- # 00_Door.cog
- #
- # Generic Door Script
- #
- # [IS]
- #
- # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
- # ========================================================================================
-
- symbols
- message startup
-
- thing ghostobj1a
- thing ghostobj1b
- thing ghostobj1c
-
- thing ghostobj2a
- thing ghostobj2b
- thing ghostobj2c
-
- thing ghostobj3a
- thing ghostobj3b
- thing ghostobj3c
-
- flex color1=1
- flex color2=2
- flex color3=3
-
- flex radius=1.005
-
- surface hitsurface mask=0x100
- end
-
- # ========================================================================================
-
- code
- startup:
- beam1a=addlaser(ghostobj1a, color1, radius);
- beam1b=addlaser(ghostobj1b, color2, radius);
- beam1c=addlaser(ghostobj1c, color3, radius);
- beam2a=addlaser(ghostobj2a, color1, radius);
- beam2b=addlaser(ghostobj2b, color2, radius);
- beam2c=addlaser(ghostobj2c, color3, radius);
- beam3a=addlaser(ghostobj3a, color1, radius);
- beam3b=addlaser(ghostobj3b, color2, radius);
- beam3c=addlaser(ghostobj3c, color3, radius);
- return;
-
-
-
-
- end
-
-