Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → *needs a cog*
*needs a cog*
2001-11-26, 12:34 PM #1
I need a cog that plays a key and hold it in the last frame as soon as the level starts. I need to be able to specify the thing and the key it plays.
2001-11-26, 1:02 PM #2
That would be kinda silly. A cog that plays a key, but you cant define the key, or the thing to play it on. Yes, VERY silly.


Code:

#11/2001 GBK
Symbols
Message Startup
Thing Door
Keyframe Key_to_play
Flex Sleeptime=1.0
End
Code
Startup:
Sleep(Sleeptime);
Playkey(Door, Key_to_play, 1, 0x4); 
Stop;
End



It works, I tested it. [http://forums.massassi.net/html/biggrin.gif]



------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!