YesNoOk
avatar

Any way to have Varset hitsound be consistent when using simul mode? (Read 3810 times)

Started by jweezy34, May 13, 2025, 09:57:44 pm
Share this topic:
Any way to have Varset hitsound be consistent when using simul mode?
#1  May 13, 2025, 09:57:44 pm
  • avatar
  • ***
  • "I'm not going to Hell alone"

  • Online
Basically I'm helping on a game and there are metal characters right, when they get hit I want that metal hitsound to play. I got it working with Varset but the issue is when its more than one enemy on screen thats not a robot, varset triggers for everyone when its supposed to just do it for that one character. Is there a way to have varset work properly for such things or do you suggest I put the hitsounds in the character getting hit???

The code I'm using and put in statedef -2
[state -2, metal]
type = varset
trigger1 = enemynear, name = "whatever"
trigger2 = enemynear, name = "whatever"
trigger3 = enemynear, name = "whatever"
var(49) =  10


EDIT: Can mods move this I THINK i put this in the wrong section???
I was the Perfect warrior! Cold and Ruthless! I lived by my strength alone! Uninhibited by foolish emotion!
Last Edit: May 13, 2025, 10:02:07 pm by jweezy34