#@Erik aka "Duzty" you didn't set any

1 messages · Page 1 of 1 (latest)

stray wraith
#

And "how" would i do that? NEED INPUT...

Unfortunately, I do know the code is far from complete.. but it was at this point, when I couldn't confirm a visual TEXT from any keystroke or otherwise.. that I had to stop and figure out the problem/solution was..

I do appreciate anything you can throw at me.. even if it doesn't stick!!

normal blaze
#

You need to set something in here. If you haven't created an input mapping context asset, then you need to create one in order to define the actions and their default inputs.

stray wraith
#

..And I also rechecked by reassigning to various keystrokes.. In the hopes it just happens to be a peripheral that isn't doing it's job..NOPE

normal blaze
#

Did you actually create an Input Mapping Context asset?

potent isle
#

And wdym you set it to data asset

stray wraith
#

I know this has got to be something SO completely simple, but so completely stupid of me to miss.. I have been wading through these waters for a couple days.. and this is the second time I came across this unresponsive turn out...

stray wraith
# potent isle And wdym you set it to data asset

At this point..I am not 100% sure what I mean... I am following a tutorial... At this point, I went beyond the tutorial and collected the finished result from the instructor.. It don't work either... I can reprogram any keystroke to ANYTHING.. and I get no response.

normal blaze
#

If you're not getting responses on the inputs, then it's likely you're not possessing or have input enabled on the actor that you've placed the input actions into.

stray wraith
normal blaze
#

Begin Play will fire for any actor that starts existing in the game. So even if you placed an actor in the scene, its begin play will fire, but that doesn't mean that actor will receive inputs.

The "Player Controller" is the instance of a "player" that exists within the game. it's typically the first thing that receives inputs. A player controller will automatically pass its inputs to the pawn or character it is "possessing" if it is possessing one. The "Player Controller" can then be thought of as a "Puppet Master" or "Brain" where the "Pawn" or "Character" is like the "Puppet" or "Body" it can possess and be in control of.

You created this class that contains some inputs, do you know what type of class it was you created it with (actor? pawn? character?)

normal blaze
#

Ok, so it says "PaperCharacter" so we can assume "Character" if it was set up right. Did you place this BP_RUNNER in the scene, or did you set the Game Mode settings so the "Default Pawn" is set to BP_RUNNER?

stray wraith
#

I set it into the scene

normal blaze
#

Ok, just so you're aware of why I asked, normally when you set the default pawn type in the Game Mode settings, it'll automatically spawn and possess it for you with your player controller.

As you've placed it into the scene, this usually means it's a standalone actor, that doesn't necessarily receive the player inputs like I mentioned before.

To get a placed actor to automatically get possessed like it would if it was spawned by the game mode, select that actor in your scene, and look in the details panel for the settings labelled "Auto Possess Player" and set it to Player 0.

#

Once you've done this, and if your input mapping context is set up right, then it should start to receive inputs.

stray wraith
#

...And nothing... No Response...

normal blaze
#

Do you have a Default Pawn Class set in your Game Mode's settings? It could be spawning something else and possessing that instead.

stray wraith
#

I had already connected the Default Pawn Class to my only created Pawn Class..

normal blaze
#

Ok, in trying to isolate the problem, try placing in one of the original input nodes and try seeing if that can respond to your inputs by putting a print string on this and then running the game.

stray wraith
#

So... here's the rub... Page Up doesn't work.... I attached a controller.. no go... the only two confirmed Event Buttons .. Left Mouse/Right Mouse... They worked..

normal blaze
#

Are you clicking into the window and then trying to press the key inputs?

stray wraith
#

Yes..

#

SO... I detached the Event Buttons, and it looks like they are actually working... Which is progress, but it appears to be the only way I can get actions to work right now. Again, so weird...