Data Realms Fan Forums http://45.55.195.193/ |
|
One Liners http://45.55.195.193/viewtopic.php?f=1&t=31620 |
Page 1 of 1 |
Author: | David Rodrigov [ Fri Aug 24, 2012 1:23 am ] |
Post subject: | 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. |
Author: | Roast Veg [ Fri Aug 24, 2012 1:55 am ] |
Post subject: | 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. |
Author: | 4zK [ Fri Aug 24, 2012 10:19 am ] |
Post subject: | Re: One Liners |
Wouldn't it be easier to just make the AEmitter have multiple burst sounds? ...you were talking about emitters, right? |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |