Posted by fourwood on November 22, 1998 at 20:06:49:
In Reply to: Fog cog edited. Isn't working. 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 Temple: symbols
: message startup
: message pulse
: flex volume
: thing ghost
: sound sound
: int dist: end
: # ========================================================================================
: code
: startup:
: PlaySoundThing(sound,ghost,volume,dist,dist,0x1);
: SetPulse(int);
: return;: end
:
: If you know why it isn't working, or if MotS already has such a cog, please tell me. -Rob-
And maybe put a pulse message in there too.:)
Give it a shot.