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"

thirdpersongamemode doesnt connect to integer variable?

Why doesnt my CastToThirdPersonGameMode connect to integer variables? I need to connect them. it just says that they cant join. However in the tutorial, its possible.

alt text

Product Version: UE 4.19
Tags:
more ▼

asked Aug 14 '18 at 12:46 AM in Blueprint Scripting

avatar image

ArkhamEngineer
6 1 7

avatar image FlickMastaBean Aug 14 '18 at 12:59 AM

are you trying to get or set the integer?

avatar image ArkhamEngineer Aug 14 '18 at 01:05 AM

I am trying to get it

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

is the variable located in the thirdpersonGameMode? is so it may have just gotten confused and you will just need to drag off of the as thirdPersonGameMOde and search for the variable again. if the variable is not in the game mode then you need to create it

more ▼

answered Aug 14 '18 at 01:08 AM

avatar image

ThompsonN13
10k 33 8 23

avatar image ArkhamEngineer Aug 14 '18 at 01:33 AM

i created the gamemode inside of the third person character blueprint

avatar image ArkhamEngineer Aug 14 '18 at 01:39 AM

how do i create it in the game mode?

avatar image ThompsonN13 Aug 14 '18 at 01:48 AM

a game mode is its own blueprint type. if you havent created your own game mode then you will need to via add new->bluprint class->game mode base. then you will need to set that game mode as the one to be used by your game in the project settings. you can then open and create the variable in the game mode by double clicking it in the content browser. if your following a tutorial they probably would have mentioned these things. are you sure your doing it all right?

basically you cant connect a variable to a object that doesnt contain the variable.

avatar image ArkhamEngineer Aug 14 '18 at 01:52 AM

Thanks, but where do i go in the project settings to add the new game mode?

avatar image ThompsonN13 Aug 14 '18 at 01:57 AM

its under maps and modes in 4.17 and probably hasnt changed in 4.19 like your using. though you can just go to the search bar at the top and search game mode and it will come up. you need to set the default game mode (that is as long as your using any override on a per level basis, youd know if you were)

avatar image ArkhamEngineer Aug 14 '18 at 02:01 AM

I finally did it! Thank you!

(comments are locked)
10|2000 characters needed characters left
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