Why cant this text go into the not equals to check if the weapon name is set....

i want to make a check based on a the weapon name on if the character should be allowed to zoom in. The not equal to wont allow my to attach either of the text options.

Hey @anonymous_user_761b64221! Welcome to the forums!

Try getting the Class of the equipped weapon, and comparing that! It’s usually a lot more stable as actors tend to get extra characters on their names when they’re spawned in, anyway! :slight_smile:

2 Likes

Hey @anonymous_user_761b64221! Welcome to the Forums!

To add on a bit more to what @Mind-Brain explained, it looks like the != node you are trying to use only takes in number values. The node you are looking for specifically is not equal (text).

I hope the above are the solutions you need!

1 Like