home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 52
/
ClassicFond52.iso
/
GAMES
/
DROIDW.RAR
/
DWCD.GOB
/
mission_cog_03_arrows_g.cog
< prev
next >
Wrap
Text File
|
1998-11-04
|
1KB
|
70 lines
# Droids Cog Script
#
# 03_door.cog
#
# Generic Door Script
#
# [IS]
# 01/30/98 [DGS] Added the switch
# /2/15/98 [JP] Modified for use in the Moisture Farm
# ========================================================================================
symbols
message startup
message entered
message timer
message pulse
message user1
message user2
surface agreen1
surface agreen2
surface agreen3
sector pulsesector
material RedMat
int numcells
end
# ========================================================================================
code
startup:
player=getlocalplayerthing();
cellnumb=0;
return;
entered:
print("prestoo");
setwallcel(agreen1, cellnumb);
setwallcel(agreen2, cellnumb);
setwallcel(agreen3, cellnumb);
//setpulse(1);
return;
//pulse:
// if (cellnumb==(numcells-1)) cellnumb=0;
// else cellnumb=cellnumb+1;
// setwallcel(agreen1, cellnumb);
// setwallcel(agreen2, cellnumb);
// return;
user1:
//setpulse(0);
//setsurfacelight(agreen1, 0, 0.5);
//setsurfacelight(agreen2, 0, 0.5);
//setwallcel(agreen1, 0);
//setwallcel(agreen2, 0);
setsurfacemat(agreen1, RedMat);
setsurfacemat(agreen2, RedMat);
setsurfacemat(agreen3, RedMat);
return;
end