home *** CD-ROM | disk | FTP | other *** search
- # Droids Cog Script
- #
- # SY_objectives.cog
- #
- # Objectives cog
- #
- # Desc:
- #
- #
- #
- # 01/22/98 [DGS] Created
- #
- #
- # (C) 1998 LucasLearningLimited. All Rights Reserved
-
-
-
- symbols
- message startup
- message shutdown
-
-
-
- int undertimelimit local
- int finished local
- int player local
- int halfpower local
-
- end
- ## Code Section
- code
-
- startup:
-
- // GOAL 0 2 Droid with legs
- // GOAL 0 1 Droid with medical knowledge
- // GOAL 0 3 Rescue and relax injured Jawa
- // GOAL 0 4 Manipulator with cutting ability
- // GOAL 0 5 Magnetic
- // GOAL 0 6 Retrieve information from droid
- player = getlocalplayerthing();
- finished = 0;// Set this variable to false until the level is finished
-
- //REQUIREMENT 0 1 medical knowledge
- if (dwCheckDroidCaps(512)) SetInv(player, 1, 1);// if droid can talk
- //REQUIREMENT 0 4 cutting ability
- if (dwCheckDroidCaps(16384)) SetInv(player, 4, 1);// if droid can talk
- //REQUIREMENT 0 2 bio injector
- if (dwCheckDroidCaps(32768)) SetInv(player, 2, 1);// if droid can talk
- //REQUIREMENT 0 5 magnetic
- if (dwCheckDroidCaps(16)) SetInv(player, 5, 1);// if droid can talk
- return;
- shutdown:
-
- return;
-
-
- end
-
-
-
-
-