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 → Fakeossity
Fakeossity
2002-01-03, 1:02 PM #1
I need a cog that will make a switch activated and will play a sound, as if doing something, but does nothing.

Easy, right?

------------------
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.
2002-01-03, 1:33 PM #2
Slim piece o' cake.


Code:
#01/2002 GBK
Symbols
Message Activated
Message Timer
Surface Switch
Sound S0und
End
Code
Activated:
If(Getsenderref() == Switch && Getwallcel(Switch) != 1) { Setwallcel(Switch, 1);
Playsoundpos(S0und, Surfacecenter(Switch), 1.0, -1, 100, 0);
Settimer(Getsoundlen(S0und)); Stop;
Timer: Setwallcel(Switch, 0); Stop;
End



REAL slim...   Credit me. [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.
2002-01-03, 10:14 PM #3
GBK, don't forget... I have about 15 cogs made by you. You'd murder me if I didn't include your name.

------------------
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.

↑ Up to the top!