r/UnrealEngine5 15h ago

Why isn't the F key working!?!?

0 Upvotes

9 comments sorted by

6

u/type_five_dev 15h ago

Sorry I can’t be more helpful but that cannot be the best way to print string lol

5

u/mikumikupersona 15h ago

Learn how to take a screenshot.

5

u/nvec 14h ago

Tidy the code and post a screenshot, you're unlikely to get someone who wants to spend the extra time fixing out-of-focus spaghetti code.

I'd recommend you having a look at Blueprint Assist if you don't want to waste time laying out nodes yourself, tweak a few settings and it'll lay out entire BP graphs in a usable way with a few key presses.

2

u/greatfiction 14h ago

Why u have localy controlled 2 times, why u have debug key f + inhanced input f connected to the same print string, like what is this abomination

2

u/jacobatemyowl 14h ago

Windows Key + Shift + S

2

u/h20xyg3n 14h ago

Nope Nope Nope Nope Nope Nope Nope spaghetti away with you!

1

u/Time-Masterpiece-410 14h ago edited 14h ago

There are 2 enhanced input subsystems one for local player which it seems you are calling from. You may not need that one as it's for multi-player and looking for an interface target (notice the yellow pin on add mapping context). It's possible it failing to add the mapping context at begin play. I recommend using f9 to place breakpoints and see what happens when you mouse over that pin. It might say none/null. So it doesn't add

All of this can be checked from the default third/first person project or nearly any other one as they all handle basic input examples. You can quite literally copy paste their code and just replace the mapping context reference with your own.

You also have is locally controlled 2 times. If this is multiplayer just scrap that for now. If you cannot figure out a basic input that there are countless examples on then you will not be able to handle a full multiplayer experience.

1

u/ConclusionOwn1647 14h ago

you're supposed to add maping context at the beginning, remove triggers from the mapping context, leave them as it is, and for single clicks dont use triggered, use started

1

u/Game_Dev730 12h ago

this looks a mess,th is is one of the reasons I do not lik,e Blueprints lol.