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 get player index?


I already saw some answers to this question, but actually they are not answering :(

The question is: Why this node is allways returning "-1" even if I am in a single or multiplayer, in the server or in any client?

alt text

I saw some answers that says that a Index should be managed by me, but for me that doesn't have sense, because if I ask for zero, Unreal knows it's my user, and if i'm in client 1, Unreal knows that the index is 1... so... where it's saved this value???

Hope somebody knows.


Product Version: UE 4.14
call1.png (42.1 kB)
more ▼

asked Dec 29 '16 at 01:41 AM in Blueprint Scripting

avatar image

127 8 14 22

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

1 answer: sort voted first

I just learned that Index is not meant for multiplayer.

You use index when more than 1 player is inside same game instance, like those car games with splitted screen.

So nevermind, in regular games, index should be always zero.

more ▼

answered Dec 06 '18 at 03:32 PM

avatar image

127 8 14 22

(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