Posted by JM on July 13, 1998 at 15:14:34:
In Reply to: My COG posted by Catmaster on July 13, 1998 at 14:46:48:
0 IS a flag....
: This is my first attempt at a COG, someone tell me why it does not work!
Try this:
===========================================
#Jedi Knight COG Script
#
#COG which when a player tries to open a door plays
#a locked sound
#and displays a message saying "Looks like someone
#dos'nt want company..."
#
#Made by Mailer Copyright Mailercorp 98 all rights #reserved
#
#==========================================symbols
message activated
thing door1 nolink,desc=door1
sound locked=i00ky73t.wav local
end
#==========================================
code
activated:
PlaySoundLocal(locked,5,0x44);
Print("Looks like someone dosn't want company...")Return;
end