x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

can't control game after reset

Hi Guys, my problem right now is that after resetting the current level I am on, I can't control the game anymore. The plan is to have a button with which to reset the current level, without resetting the timer/items/points of the levels prior to this one.

The BP below is what I've got after searching through the forum, but I'm not sure if this resets everything I want properly(team members haven't implemented the points/items yet) and after I click the button I can't move my character anymore.

So if anyone can help me with regaining the control of the game after resetting it, I would be very grateful.

And please excuse my horrendous english.

alt text

Product Version: Not Selected
Tags:
restart.png (91.4 kB)
more ▼

asked Dec 01 '16 at 05:54 PM in Blueprint Scripting

avatar image

MrWinteck
3 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

You're probably going to have to look into your other blue prints in order to understand why you aren't able to "Control" your character anymore. What exactly happens after you open the level again? Does everything else work except character movement?

Without knowing how your character player controller is initialized, it's a little harder to understand where the problem is occurring.

For starters, is there a reason why you need to set ShowMouesCursor to true before opening the level?

Finally, try using Set Game Input Only and link to Get Player Controller and see if that helps.

more ▼

answered Dec 01 '16 at 07:24 PM

avatar image

H_C_C
26 1 3 7

avatar image MrWinteck Dec 01 '16 at 07:39 PM

I am using the template top down blueprints. i changed nothing on them but opening the PauseMenu Widget when pressing P on the Character BluePrint

I watched dozens of tutorials for PauseMenus and half of them had the ShowMouseCurson active, so i thought i would use it too.

And thanks! It works now

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question