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="Hunter_destruction" data-source="post: 105863" data-attributes="member: 5836"><p>What about when you MOVE the unit and also, won't the original sound of the unit still play?</p><p></p><p>Well I redid the trigger in WE as Arkidas said.</p><p>[code]</p><p>Trigger</p><p>????Events</p><p>????????Player - Player 1 (Red) Selects a unit</p><p>????????Player - Player 2 (Blue) Selects a unit</p><p>????????????????????????????????\\\ ect...</p><p>????Conditions</p><p>????????(Unit-type of (Triggering unit)) Equal to (unittype)</p><p>????Actions</p><p>????????Sound - Play (YourSound)[/code]</p><p></p><p>[code]TriggerAdvanced</p><p>????Events</p><p>????????Player - Player 1 (Red) Selects a unit</p><p>????????Player - Player 2 (Blue) Selects a unit</p><p>????Conditions</p><p>????????(Unit-type of (Triggering unit)) Equal to (Unittype)</p><p>????Actions</p><p>????????Set SOUND = (Random integer number between 1 and 2)</p><p>????????If (All Conditions are True) then do (Then Actions) else do (Else Actions)</p><p>????????????If - Conditions</p><p>????????????????SOUND Equal to 1</p><p>????????????Then - Actions</p><p>????????????????Sound - Play (Sound1)</p><p>????????????Else - Actions</p><p>????????If (All Conditions are True) then do (Then Actions) else do (Else Actions)</p><p>????????????If - Conditions</p><p>????????????????SOUND Equal to 2</p><p>????????????Then - Actions</p><p>????????????????Sound - Play (Sound2)</p><p>????????????Else - Actions[/code]</p></blockquote><p></p>
[QUOTE="Hunter_destruction, post: 105863, member: 5836"] What about when you MOVE the unit and also, won't the original sound of the unit still play? Well I redid the trigger in WE as Arkidas said. [code] Trigger ????Events ????????Player - Player 1 (Red) Selects a unit ????????Player - Player 2 (Blue) Selects a unit ????????????????????????????????\\\ ect... ????Conditions ????????(Unit-type of (Triggering unit)) Equal to (unittype) ????Actions ????????Sound - Play (YourSound)[/code] [code]TriggerAdvanced ????Events ????????Player - Player 1 (Red) Selects a unit ????????Player - Player 2 (Blue) Selects a unit ????Conditions ????????(Unit-type of (Triggering unit)) Equal to (Unittype) ????Actions ????????Set SOUND = (Random integer number between 1 and 2) ????????If (All Conditions are True) then do (Then Actions) else do (Else Actions) ????????????If - Conditions ????????????????SOUND Equal to 1 ????????????Then - Actions ????????????????Sound - Play (Sound1) ????????????Else - Actions ????????If (All Conditions are True) then do (Then Actions) else do (Else Actions) ????????????If - Conditions ????????????????SOUND Equal to 2 ????????????Then - Actions ????????????????Sound - Play (Sound2) ????????????Else - Actions[/code] [/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