|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
David Rodrigov
Joined: Mon Jan 25, 2010 11:35 pm Posts: 675
|
One Liners
How can I make an actor that has a pie menu button that says "Taunt", and when it is pressed the Actor will play a random sound? I have all the one liners and taunts recorded, I just want it to pick one of them randomly each time the button is pressed.
|
Fri Aug 24, 2012 1:23 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: One Liners
Provided you know how to set up a pie menu (which if you don't check out the grapple gun), what you want to do is emit a particle that will make the sound on its creation. The Lua PlaySound is buggy, so we use the old .ini sound system on an invisible particle - one for each sound.
|
Fri Aug 24, 2012 1:55 am |
|
|
4zK
Joined: Mon Oct 11, 2010 1:15 pm Posts: 594 Location: Finlandia
|
Re: One Liners
Wouldn't it be easier to just make the AEmitter have multiple burst sounds?
...you were talking about emitters, right?
|
Fri Aug 24, 2012 10:19 am |
|
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|