#@Erik aka "Duzty" you didn't set any
1 messages · Page 1 of 1 (latest)
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!!
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.
Alright, I set my Mapping Context to "Data Asset"... NO DICE. Non responsive.
..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
Did you actually create an Input Mapping Context asset?
Show us?
And wdym you set it to data asset
I had created two buttons.. one left action.. and right action... once I program a keystoke to any of them, I no longer get a response... Attacing a Print Log doesn't even generate text in Active PLAY...
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...
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.
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.
Well, when I connect a Print String to the Begin Event Play.. I get your typical automated response...
..But once I connect one Print String to either AdvandedInputAction.. nothing.. I would try to continue the tutorial, but if I am get no response at this shallow of the program.. I have no way of knowing that I am following every step with being able to Play Test from that point on..
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?)
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?
I set it into the scene
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.
...And nothing... No Response...
Do you have a Default Pawn Class set in your Game Mode's settings? It could be spawning something else and possessing that instead.
I had already connected the Default Pawn Class to my only created Pawn Class..
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.
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..
Are you clicking into the window and then trying to press the key inputs?