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"

How to add variables to PlayerState?

There is already a class PlayerState with some variable (get ping, get is a bot, get score, get playername etccc...)

but if i want to add a variable PlayerColor ?

i cant see where to edit this in blueprint, i can create a PlayerState blueprint but how to use it by default?

Thanks

Product Version: Not Selected
Tags:
more ▼

asked Sep 04 '14 at 06:26 PM in Blueprint Scripting

avatar image

skeleton60
625 42 59 88

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

2 answers: sort voted first

Go to the World Settings tab, and under Game Mode, check what class you're using. You won't see the PlayerState option here. But if you go to your own created Blueprint Game Mode or the default one. You should be able to see the option after expanding.

alt text

bp_playerstate.png (77.5 kB)
more ▼

answered Sep 17 '14 at 04:27 PM

avatar image

BlackDragon
51 3 8 10

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

wow thanks, why is it hidden here?

more ▼

answered Sep 18 '14 at 06:00 AM

avatar image

skeleton60
625 42 59 88

avatar image newbprofi Sep 18 '14 at 10:38 AM

To make UE4 more mysterious and awesome!

(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