Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Come and join our gamer community by
registering for free here
Other Gaming Forum
PC games
Warcraft Tools and Tutorials
How To Put Custom Sounds In Units
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Arkidas" data-source="post: 105858" data-attributes="member: 5831"><p>1. E-Unit is selected</p><p>C-Unit equal to (insert unit type here)</p><p>A- Play sound.</p><p></p><p>If you wanted more sounds then set a variable, Lets say SOUND, also set it as an array at map initialization.</p><p>E-Map Initialization</p><p>C-</p><p>A-Set Variable-- Set (name of sound) to SOUND[integer]</p><p>(Do this as many times as you want, As long as you have enough sounds)</p><p></p><p>Then you set the previous trigger</p><p>E-Unit is selected</p><p>C-Unit equal to (insert unit type here)</p><p>A-Set variable-- Set (name of variable) to (random integer from [first interger - you last integer])</p><p>IF, THEN, ELSE-- If SOUND equals [interger], then play this sound.</p><p>(copy this as many times as you want, as long as you have enoguh sounds)</p><p>tell me if this is confusin</p></blockquote><p></p>
[QUOTE="Arkidas, post: 105858, member: 5831"] 1. E-Unit is selected C-Unit equal to (insert unit type here) A- Play sound. If you wanted more sounds then set a variable, Lets say SOUND, also set it as an array at map initialization. E-Map Initialization C- A-Set Variable-- Set (name of sound) to SOUND[integer] (Do this as many times as you want, As long as you have enough sounds) Then you set the previous trigger E-Unit is selected C-Unit equal to (insert unit type here) A-Set variable-- Set (name of variable) to (random integer from [first interger - you last integer]) IF, THEN, ELSE-- If SOUND equals [interger], then play this sound. (copy this as many times as you want, as long as you have enoguh sounds) tell me if this is confusin [/QUOTE]
Verification
Post reply
Other Gaming Forum
PC games
Warcraft Tools and Tutorials
How To Put Custom Sounds In Units
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top