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 do I load data for all local players from one server save file?

I have a multiplayer game in which I have data saving such as in game world items (hammer, knife, gun). When I "pickup" an item the data saves just fine (set hidden in game) and when I reload the game the player that interacted with the item will load the saved information. This works great.

My problem comes in when I try to load the same information onto the other local players. It as if there is an array for each local player in the saved file.

This is what my game looks like before any saves: alt text

This is what my game looks like when the right local player "pickup" the right hammer (sorry the image may not display the hammer very well - its under the text renders), and the left local player picks up the left hammer: alt text

I would like both the left and right hammers to be set to hidden on both the left and the right local players. alt text

This is my load code that is in the mythirdpersoncharacter that plays on Event Begin Play. alt text

Any help on this would truly be appreciated!!

Matt

Product Version: Not Selected
Tags:
untitled.png (1.2 MB)
untitled2.png (1.1 MB)
untitled3.png (201.2 kB)
untitled4.png (400.7 kB)
untitled3.png (201.2 kB)
more ▼

asked Apr 30 '15 at 01:35 AM in Blueprint Scripting

avatar image

Mattboyguy
28 6 11 11

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

1 answer: sort voted first

It looks like I needed to dabble in the Construction Script tab. This seems to be working for the time being.

alt text

untitled5.png (174.7 kB)
more ▼

answered May 01 '15 at 04:39 AM

avatar image

Mattboyguy
28 6 11 11

(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