No sound with this trigger.

Status
Not open for further replies.
Level 3
Joined
Sep 25, 2020
Messages
36
1639010845262.png

I cant seem to get this to work, Please dont use anything complicated I just want to add sound whenever the unit attacks. Originally the model that I'm using doesn't make any sound at all.
 
Last edited:
Level 25
Joined
Mar 29, 2020
Messages
1,465
if you aren't using gyros in your map you can just alter the original gyrocopter soundset so it matches what you want and then use it for this unit.

this works:
(obv change the unit type to your thing)
  • attack noise
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Attacking unit) Equal to Paladin 0000 <gen>
    • Actions
      • Set VariableSet TempPoint = (Position of (Attacking unit))
      • Sound - Play GyrocopterImpactHit1 <gen> at 100.00% volume, located at TempPoint with Z offset 0.00
      • Custom script: call RemoveLocation(udg_TempPoint)
I assume the problem with yours was either you barely heard it bc of the 600 z offset (that means the sound was playing 600 units north of the attacker) , or that it faded too quickly. I don't think the fading is helpful here.
 
Level 3
Joined
Sep 25, 2020
Messages
36
if you aren't using gyros in your map you can just alter the original gyrocopter soundset so it matches what you want and then use it for this unit.

this works:
(obv change the unit type to your thing)
  • attack noise
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Attacking unit) Equal to Paladin 0000 <gen>
    • Actions
      • Set VariableSet TempPoint = (Position of (Attacking unit))
      • Sound - Play GyrocopterImpactHit1 <gen> at 100.00% volume, located at TempPoint with Z offset 0.00
      • Custom script: call RemoveLocation(udg_TempPoint)
I assume the problem with yours was either you barely heard it bc of the 600 z offset (that means the sound was playing 600 units north of the attacker) , or that it faded too quickly. I don't think the fading is helpful here.
Cheshire Thank's man, Can I have a copy of this in a Map so I can check on them. I'm really not good at trigger's yet.
 
Last edited:
Status
Not open for further replies.
Top