Page 2 of 2

Re: Sound During Teleport to New Map

Posted: March 15th, 2012, 7:39 pm
by chocolatepie33
*slaps self*

what is with me missing the real obvious stuff? first the rpg thing involving hirato and newui, and now this...

yeah, the separate entity part might be your best bet.

Re: Sound During Teleport to New Map

Posted: March 22nd, 2012, 3:36 pm
by UCLA.RES.
Thx for the input Mike. The thing is I can't make it as two separate entities. Maybe if I explain things a bit better. Basically, we have a setup in such a manner so that when a sound is made, a reward is delivered. But we only want rewards given when the player activates the teloporter. I have done separate sound entities but the problem is that if the the player is stuck/stays in the sound entity radius, it will constantly trigger the reward delivery, which is not desired. Even if I could get the sound to work once,for a specified period of time, it wouldnt matter because it needs to be specifically during the teloport. This is really important to me. I looked at Kid_Matthew's contest wining map, but I guess somthing went wrong because I couldn't find a teloport nor sound entity. This is very important and so If anyone could help me out, it would be greatly appreciated.

I think hirato understood this when he said I need to do a "/sound", but as he is so advanced, I couldn't follow. If anyone could suggest how to do his method it would be greatly appreciated.
:D

Re: Sound During Teleport to New Map

Posted: March 22nd, 2012, 8:49 pm
by Sircameron
Couldnt you just use the sound then use the "sleep #" between sound and the teleport?

Re: Sound During Teleport to New Map

Posted: March 24th, 2012, 11:19 am
by Mike

Re: Sound During Teleport to New Map

Posted: March 24th, 2012, 2:39 pm
by kddekadenz
Or do it like this:

Code: Select all

beep = (registersound "chaze/select" 255)
level_trigger_1 = [sound $beep ; listofmaps = [HT_left HT_right] ; sleep 1000 [map (at $listofmaps (rnd (listlen $listofmaps)))]]
This is a very small change, but it works for me this way (using 2.7).

Re: Sound During Teleport to New Map

Posted: April 5th, 2012, 4:56 pm
by UCLA.RES.
kddekadenz! You did it! Thanks so much!