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 → I need a Cog Please
I need a Cog Please
2000-12-01, 1:01 AM #1
I need a cog that play a sound when the player touche a surface. I think this is not hard to make for Super Coger that you are [http://forums.massassi.net/html/biggrin.gif]

------------------
May The Force Be With You

[url="mailto:jedi_nizar@yahoo.com"]mailto:jedi_nizar@yahoo.com[/url]jedi_nizar@yahoo.com</A>

Home Page: The Art of a Jedi
Wie vielen Leben setztet ihr ein Ende.
Und wie vielen Leben habt ihr bewahrt.
Glänzt noch einmal im Licht, meine Klingen,
und leuchtet für meine letzte Fahrt.
2000-12-02, 3:10 AM #2
Okay, i'll make the cog for you...but does sound need to be repeating or played only once?

------------------
He loves best who prayed best,
all things both great and small,
for the dear God who loved us,
He may ain't love at all.
WHAT?
2000-12-02, 3:26 AM #3
Code:
symbols

surface   switch   linkid=1

sound   playsound

message    activated

end

code

activated:
if(GetSenderID() == 1)
{
PlaySound(playsound, GetSurfaceCenter(switch), 1.0, -1, -1, 0);
}
Return;


-Jipe
2000-12-02, 7:14 AM #4
Thank you this is exactly what I needed

------------------
May The Force Be With You

[url="mailto:jedi_nizar@yahoo.com"]mailto:jedi_nizar@yahoo.com[/url]jedi_nizar@yahoo.com</A>

Home Page: The Art of a Jedi
Wie vielen Leben setztet ihr ein Ende.
Und wie vielen Leben habt ihr bewahrt.
Glänzt noch einmal im Licht, meine Klingen,
und leuchtet für meine letzte Fahrt.

↑ Up to the top!