home *** CD-ROM | disk | FTP | other *** search
- # DroidWorks Cog Script
- #
- # 00_SectorThrust.cog
- #
- # Thrust it!
- #
- # Desc:
- # Kind of like the JK Sectorthrust, but different, because I wrote it.
- # Each Sector pair is tied to a vector. They all share the same thrust value.
- #
- # 11/10/97 [DGS] Added to Tree
- # Added extra vectors
- #
- symbols
- message startup
- message timer
- message entered
-
- sector
- sector intro
- sector ramps
- sector crates
- sector lift
- sector dark
- sector door
- sector battery
- sector dance
- sector tugs
- sector magnet
-
-
- end
-
-
- code
-
- //-----------------------------------------------------------------------------
-
- startup:
- Sleep(1);
- //dwsetmissiontext(16000); //c: welcome...
- Sleep(1);
- //dwsetmissiontext(16001); //c: there are many things to remember... "?" key
- Sleep(1);
- //dwsetmissiontext(16100);
- return;
-
- entered:
-
- if (getthingsector(getlocalplayerthing()) == ramps)
- {
- //dwsetmissiontext(16006);
- settimer(7);
- print("ramps");
- }
-
- if (getthingsector(getlocalplayerthing()) == crates)
- {
- //dwsetmissiontext(16007);
- settimer(7);
- print("crates");
- }
-
- if (getthingsector(getlocalplayerthing()) == lift)
- {
- //dwsetmissiontext(16008);
- settimer(7);
- print("lift");
- }
-
- if (getthingsector(getlocalplayerthing()) == dark)
- {
- //dwsetmissiontext(16012);
- settimer(7);
- print("dark");
- }
-
- if (getthingsector(getlocalplayerthing()) == door)
- {
- //dwsetmissiontext(16013);
- settimer(7);
- print("door");
- }
-
-
- if (getthingsector(getlocalplayerthing()) == battery)
- {
- //dwsetmissiontext(16014);
- settimer(7);
- print("battery");
- }
-
- //if (getthingsector(getlocalplayerthing()) == ramps)
- // {
- // dwsetmissiontext();
- // settimer(7);
- // print("ramps");
- // }
-
-
-
-
-
-
- return;
-
- timer:
- dwsetmissiontext(00000);
- return;
-
- end
-