home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


single sound-repeat

by K1P57A on 12/01/2010 10:22, 9 messages, last message: 01/09/2011 02:42, 981 views, last view: 04/01/2024 15:08

Hi guys,

I remember having seen this topic some while back, but somehow I just can't seem to find it again...

As the title already states, I am looking for a few short lines on how to play a sound which only plays once, and does not loop.

It is also meant to reset upon death.

Looking at the docs I only came up with the normal register and play command lines:

"N = registersound name V" & "sound N"

Could anyone lead me to the topic or throw in some help perhaps? I'd be very glad :)

Regards,

K1

   Board Index   

#1: ..

by K1P57A on 12/01/2010 10:26

Sorry,

forgot to mention that I was looking for this to work in Multiplayer.

I'm not actually sure if this is possible, as it would probably have to be linked with an event trigger or sumthing right?

reply to this message

#2: ..

by Calinou__ on 12/01/2010 13:11

Yep.. use the level_trigger_x things, with "sound N".

reply to this message

#3: ..

by K1P57A on 12/01/2010 14:44

Hi Calinou__

Aren't triggers limited to SP only?

reply to this message

#4: Re: ..

by Razgriz on 12/01/2010 15:57, refers to #3

i'm going off topic, but i've wondered where you've been all this time kipsta. are you making anything awesome we should know about? :D

reply to this message

#5: ..

by K1P57A on 12/01/2010 16:34

Hi Razgriz,

yeah I know I've been gone for quiet some time now (unfortionate family reasons and tons of work...). I'm currently working on a little project I wanna test for mapmaking :)

If you want I can send u a PM with more details, perhaps you wanna help me out if you like the idea :D

reply to this message

#6: Re: ..

by Calinou__ on 12/01/2010 18:16, refers to #3

Yes, SP only.. unless you do a big script, it's possible in coop edit.
PS : i'm Calinou, but the __ are for duplicating :/ (shitty account system)

reply to this message

#7: Re: ..

by Razgriz on 12/01/2010 19:31, refers to #5

i will on quadro :)

reply to this message

#8: ..

by K1P57A on 12/02/2010 13:06

Thanks for your replys, project is burried... for now at least :)

reply to this message

#9: ..

by .sCaSd. on 01/09/2011 02:42

you have to use a sleep command together with getcampos which returns the layerposition as list [x y z].
Both work in multiplayer. You are able to play sounds when a player enters a certain area, but its only played on clients who entered the specified area. Noone else will hear it.

Another way to call sounds synced is timeremaining which returns the server-time.

What do you want to do btw ?

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53864652 visitors requested 71639796 pages
page created in 0.022 seconds using 10 queries
hosted by Boost Digital