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"

Disable/Change Character Blueprints in Different Maps?

Is there a way to change or disable the Blueprints that I have put into my PlayerCharacter, in a different Map?

The Problem is, in my MainMenu_Map I add the MainMenu_Widget (Play, Quit etc.)...BUT then my PlayerCharacter_HUD gets added to Viewport by the PlayerCharacter_Blueprints with Delay. (which is wantend in my First Level) I already managed to cancel out Music and Cues, by playing them in the LevelBlueprint, but I cant do that with the HUD_Widget, since A LOT of Variables like Hunger,Thirst,Health,Stamina etc. were set in the CharacterBlueprint. Changing that would be a hell of work :/

Now when I start the MainMenu. Everything is alright. I can use every WidgetButton correctly, but after 20sec. the Player_HUD gets added to the screen. (by the Delay that I mentioned) But of course I dont want this to happen in the MenuMaps. Just in the GameMaps..

Any suggestions? ._.

Greetings from Germany

Product Version: UE 4.16
more ▼

asked Aug 19 '17 at 12:25 PM in Blueprint Scripting

avatar image

5 1 2 4

avatar image XynoTV Aug 19 '17 at 12:54 PM

I "kinda" found a very poor workaround for it xD I KNOW ther must be a better way to do this, but I'll still post my solution here for other people.

First I clean all the other widgets, then after the Delay when my HUD_Widget would be triggered, I instantly remove all widgets and apply only my Menu_Widget again within a split second. (My PC runs with 120FPS and even I couldnt see it appear/disapear) I'm still pretty new to unreal engine so DONT DO THIS if you know it better xD It's a very sad try, but at least it works :D

If any of you know how to do this properly, pls let me and the community know :D

alt text

avatar image XynoTV Aug 23 '17 at 08:30 AM

I fixed it now completly by just making a new GameMode for the MenuMaps AND a new Character, containing only a Capsule and a Camera without any form of Input. Just had to set the "MenuGameMode" for every MenuMap. Works perfectly fine for me. So I'll close this here as answered. But i'll let everything in for the community. Maybe it helps someone :)

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

1 answer: sort voted first

You should use different game modes with different controllers for each map. If you still need some function of your original player controller or character you can make a main class and one for each map inherit from the main, adding/overiding method as you need.

An other solution can be to create a "manager class", an actor class who contain exposed parmameter that you can edit depending of the map (you can get if by by "Get all actor of class" node).

BTW the solution you found is the right one, depending what you have to achieve you can consider to make all your game modes/ player controllers inherit from a main one.

more ▼

answered Aug 23 '17 at 11:09 AM

avatar image

696 23 13 28

avatar image XynoTV Aug 24 '17 at 12:02 PM

I already resolved it. Surprisingly pretty much the way you recommended it to me :D So I'll still give you a UpVote ^-^ I really appreciate your reply : 3

btw. how can I set a Threat here as RESOLVED? :o

avatar image XynoTV Aug 24 '17 at 12:07 PM

Nevermind. I found it :)

Thanks again ^-^

(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