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"

GamePlay Framework Match States etc..

Hello there, after switching from Unity to UE I am pretty happy about my choice. Now I wanted to adapt the GamePlay Framework.

I think that I understood the purpose of each class and when to use them. My problem is that I don't understand how I can e.g. manage the match state.

Szenario: All players are joined to my game. Before the game starts I want to let them pick their teams etc.. and a video sequence should be triggered to play. Then the game should start and after all objectives were completed, the game should end.

How can I react to game states in blueprints and manage the match states.

Product Version: UE 4.9
Tags:
more ▼

asked Oct 17 '15 at 06:53 PM in Blueprint Scripting

avatar image

Traxdata
5 2 5

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

1 answer: sort voted first

Your core game logic should be contained in the GameMode. If you create a GameMode (or many), you can define the various states and rationale when the game moves between "phases". It took me awhile to figure this out. I have a GameMode for Menu/Stat phase and a separate one associated with the combat phase. The "Map" can be associated with a specific GameMode.

GameMode = Ultimate authority on the game flow. Only exists on the server (for cheat protection).
GameState = Replicates the "State" of the game to each client GameInstance = created and maintained across all the various game modes. Think of this as the Class that is the first and last object in your game. it is instantiated on start up and destroy on exit. it is the only truly persistent class.

more ▼

answered Aug 16 '18 at 03:39 AM

avatar image

Rukgul
33 2 6

(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