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 can i cast a inventory system to all of my characters?

I made a inventory system but it only works for one of my charcter, what should i do to make it work for all of them? i followed this tutorial, link given below https://www.youtube.com/watch?v=Ko8rfLJKcAE&list=PLtpNaPTkjdL6jauQ8ZbiB9xe9ay_zfWNE∈dex=13

Product Version: UE 4.16
Tags:
capture.jpg (69.5 kB)
capture1.jpg (157.4 kB)
capture2.jpg (179.0 kB)
capture3.jpg (162.5 kB)
more ▼

asked Apr 11 '18 at 06:03 AM in Blueprint Scripting

avatar image

Azouf
6 1 3

avatar image ThompsonN13 Apr 11 '18 at 02:30 PM

first thats not a casting issue. second you didnt give us any information to work from so how do you expect us to help you. we need to know how your inventory is setup, how it functions and how you would like it to function. is this a single player game or a multiplayer? is it a shared inventory or is it separate for each character? these are basic questions just to get started with. the bottom line here is you need to give information to work with otherwise you wont get any help from anyone.

avatar image Azouf Apr 12 '18 at 03:19 AM

it's third person shooter multiplayer game. its a shared inventory.

avatar image Velrin Apr 11 '18 at 02:58 PM

Can you share a link to your code? Show how you're creating and using the inventory system with your character.

avatar image MrMcKvarz Apr 12 '18 at 11:56 AM

Technically correct and not very helpful answer is to create layer of abstraction. You need to make parent character with basic interaction with inventory and inherit other characters from it, specifying interaction for each character if needed.

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

0 answers: sort voted first
Be the first one to answer this question
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