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"

Any idea to make a very simple inventory?

Hello all. I'm looking for make a very very very very simple inventory without any interface, but I don't know where I can start.

I have a basic setup in my player blueprint with two values:

1. An array that its a structure with the item info (name, type, ID, etc)

2. An integer that indicate which item slot is currently selected.

For the movement of the inventory I use the mouse wheel up and down keys. The wheel up add +1 to the integer, and the wheel down -1. The clamp determine the max slots (10)

alt text

I also have an actor blueprint with a sphere collision and a variable with the item info struct. It's the base item where I'll create the childrens (medkits, bandages, etc)

This is all that I have done.

Enter will use item, and backspace will drop it.

I'm looking for ideas of how to do that when the player enter in the sphere collision, the item add himself to the inventory.

I tried the interfaces but... well...

Thanks.

Product Version: UE 4.15
Tags:
2343234.jpg (55.4 kB)
more ▼

asked Mar 29 '17 at 03:00 PM in Blueprint Scripting

avatar image

machensan
10 2 2 9

(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