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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to make a main menu? (Avoid spawning actors)

Hello.

So this is what I want, I would like to start my game as any other game, to show 2 or 3 splash screens (like the unreal logo) and then show my main menu.

For this, I created a level on which I will reproduce widget after widget.

The problem I see, the actor keeps spawning when the game starts, and IF I try to start 8 instances to try multiplayer, I can see 8 spawned actors on all windows.

How can I avoid spawning actors, I already deleted the StartPoint but keeps spawing anyways.

Thanks in advance.

Product Version: UE 4.21
Tags:
more ▼

asked Nov 30 '18 at 10:16 PM in Using UE4

avatar image

leofucci
166 9 18 23

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

1 answer: sort voted first

Global settings -> GameMode Change it to the "Gamemode" Gamemode class (Which is the unreal default gamemode class)

more ▼

answered Nov 30 '18 at 10:44 PM

avatar image

Sejja
32 1 2 4

avatar image leofucci Nov 30 '18 at 11:57 PM

Great, I see player doesn´t spawn anymore, but later when I want to start the game, how can I set back my game mode? (programatically with blueprint code)

avatar image leofucci Dec 01 '18 at 04:19 AM

NEVERMIND! I just learned that this Global setting can be changed also on each level by using the WorldSettings, So I can restore the GameMode on desired playable levels. Thank you very much.

avatar image ThompsonN13 Dec 01 '18 at 04:20 AM

theres really no need to set the game mode to something different as they mentioned, instead you just want to set an override for the menu level. to set the override, with the level you wish to override the gamemode in open click the blueprints button near the top, then near the bottom you will see world override. if you set the world override to a different game mode it will only use that game mode in that one level, all other levels will use the default unless you set overrides for them too.

alt text

capture.png (176.4 kB)
(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