SFX Beeps Faster As Player Gets Closer

Yeah, I must have done something wrong here.
I set the clamped value to the default zero,

And I got the set from promoting this to a variable.

The SET is where I’m getting the errors.

All that looks fine. Can you show the whole graph again?


Set gives me issues

I’m using 4.27, if something has possibly changed between UE4 versions.

Set is not giving you issues, leaving out this bit is

It goes here

image

1 Like

Gotcha

1 Like

IT WORKS! THAT’S GREAT!
Thank you for your help. I am making a project and this was the core function, so if it failed I couldn’t do anything else :grin:

Thanks for your all help and patience.

1 Like

Ha! :smiley:

1 Like

One more thing actually, it seems to only beep when detecting the brand new one I place in the level, instead of beeping whenever I approach individual ones.
I have this problem with something else as well and this guy offered possible help.

I tried it but don’t seem to have any luck yet. Do you have a suggestion?

It won’t work with multiple objects. You need different code

and

I’ve tested it with a few, it works fine, but if you have hundreds, you would need more complex code ( which I’m not going to write :wink: )

2 Likes

Thanks again. I’ll try not to bother you with any more questions regarding this. :+1:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.