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"

Game state not working?

Hello! I am having a problem with a newly created game state.. I am following this tutorial: https://www.youtube.com/watch?v=R3KdTxkIwyU∈dex=1&list=PLkoVGotZWNRRgILm6Qoa_Y6hYkPSfRykr

In the tutorial he makes a new game state which spawns a second character (i want to create that character switching mechanic for my game prototype).

I did everything exactly like in the tutorial, but somehow the Event begin play node from my game state is never getting fired.. i already tried to check this with some print strings and breakpoints..

I did set it correctly in the project/work settings.. what is going on here? alt text

alt text

Product Version: UE 4.15
Tags:
world settings.png (31.3 kB)
worldgamestate.png (278.8 kB)
more ▼

asked May 12 '17 at 10:43 AM in Blueprint Scripting

avatar image

iProspartan117
27 5 5 11

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

3 answers: sort voted first

Fixed it myself by setting up this piece of blueprint in the gamemode.. Don't know if it is a good solution, but it worked for me.

more ▼

answered May 13 '17 at 11:24 AM

avatar image

iProspartan117
27 5 5 11

avatar image teyusuftu Jun 07 '18 at 12:34 PM

how to solve that problem . can you say me ?

avatar image Cloel Jul 21 '19 at 04:01 PM

This is old but this is probably the infamous modevsbase class conflict. You gotta make sure everything is consistent in that regard. Most classes have a "Base" class from which they derive (sort of) but you can't mix them. For example if you use a game mode base class, then all your other classes should also be base if possible. otherwise events won't fire properly. kind of a pain

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

how to solve that problem . can you say me ?

more ▼

answered Jun 07 '18 at 02:38 PM

avatar image

teyusuftu
1 1

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

Check if the Parent Class of GameState and GameMode is right

more ▼

answered Oct 17 '18 at 09:20 PM

avatar image

MilliElektra
6 2 2

(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