Posted by Rob on November 22, 1998 at 19:58:19:
I used the new fog cog as the basis of my new cog. My cog is simple, it makes one ghost thing emit a sound of your choice. but it isn't working. Does the MotS GOO already have a cog that makes a thing emit sound?
Here's what my cog looks like:
# Jedi Knight Cog Script
#
# ghost sound.cog
#
# Description
# Cog script for sound from thing
#
# This Cog is Not supported by LucasArts Entertainment Co
# © 1998 Massassi Templesymbols
message startup
message pulse
flex volume
thing ghost
sound sound
int distend
# ========================================================================================
code
startup:
PlaySoundThing(sound,ghost,volume,dist,dist,0x1);
SetPulse(
return;end
If you know why it isn't working, or if MotS already has such a cog, please tell me. -Rob-