User Sound

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

User Sound

Post by Soviet » January 25th, 2007, 5:44 am

is there any way to make a sound occur when a trigger is activated, except, only the person who activated it can hear it? similar to "user iprintinbold" except with sounds?

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » January 25th, 2007, 5:52 pm

It's similar to that except it's user playlocalsound, example:

Code: Select all

trig waittill ("trigger",user); 
user playlocalsound("insert csv alias here");
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Post by Soviet » January 25th, 2007, 11:47 pm

ok cool, but how would i intertwine this with a script meant to move objects, because if i remember correctly if you use user you cant perform any commands which arent user specific

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » January 25th, 2007, 11:48 pm

just place it in when ever you want, even if it says user it will move the platforms as well.
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » January 26th, 2007, 12:04 am

^ I believe that's correct, shouldn't be a problem.
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » January 26th, 2007, 12:42 am

trig waittill ("trigger",this_can_be_called_anything_you_want);
this_can_be_called_anything_you_want playlocalsound("insert csv alias here");
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » January 26th, 2007, 1:17 am

Drofder2004 wrote:trig waittill ("trigger",this_can_be_called_anything_you_want);
this_can_be_called_anything_you_want playlocalsound("insert csv alias here");
Well, as the old saying goes
if it ain't broke, don't fix it.
but I know what you mean :P
Watch this before posting a question: http://www.albinoblacksheep.com/flash/posting.php

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » January 26th, 2007, 1:46 am

drofder finnaly speaks, you still havent answered your email, and if you havent gotten anything then this is what was sent.

I would like pictures of your map so when I post it people can see how awsome it is :D
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests