View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:54 am



Reply to topic  [ 3 posts ] 
 One Liners 
Author Message
User avatar

Joined: Mon Jan 25, 2010 11:35 pm
Posts: 675
Reply with quote
Post 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
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 13 Queries | GZIP : Off ]