My COG


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

Posted by Catmaster on July 13, 1998 at 14:46:48:

This is my first attempt at a COG, someone tell me why it does not work!

===========================================
#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

activate:

PlaySoundPos(locked,SurfaceCenter(door1), 1.0, 5.0, 10.0, 0);
Print("Looks like someone dosn't want company...")

Return;

end


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]