home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 52
/
ClassicFond52.iso
/
GAMES
/
DROIDW.RAR
/
DWCD.GOB
/
mission_cog_d0_helptext.cog
< prev
next >
Wrap
Text File
|
1998-11-04
|
1KB
|
51 lines
# Droids COG Script
#
# d0_Helptext.cog
#
# Displays Help messages
#
# Desc:
# Two sectors, startsector and startsecotr2 will trigger the message number
# specified by messagenumber. The stopsectors display message 0, effectively
# turning it off.
#
# [MT] Created
# 11/03/97 [DGS] Added Printtext commands for debugging
# 11/04/97 [DGS] Added two more start and stop sectors
# ========================================================================================
symbols
message entered
sector startsector linkid=1
sector startsector2 linkid=1
sector startsector3 linkid=1
sector startsector4 linkid=1
sector stopsector linkid=2
sector stopsector2 linkid=2
sector stopsector3 linkid=2
sector stopsector4 linkid=2
int messagenumber
end
code
entered:
if (getsenderid()==1) {
dwsetmissiontext(messagenumber);
print("Helptext: Starting #:"); //Debug Lines
printint(messagenumber);
}
else if (getsenderid()==2) {
dwsetmissiontext(00000);
print("Helptext: Stopping #"); //Debug lines
printint(messagenumber);
}
return;
end