Trouble getting image from array of actors with texture variables.
Okay So I built an inventory system. I want the tooltip pictures I added to my item class to show up as an image representing the item's location in my inventory. I can pick up the items and add them into my inventory, and I can see the item in my inventory when I eject from my pawn, so I know its getting into the inventory. When I respawn the actor from my inventory it retains the same tooltip pic as well.
Here's what my inventory looks like (very simple for now, white squares are the blank images):
Now here are the two blueprints I've tried (since the max inventory slots are 25, i'm going to dupe the function and just change the index its looking for, for each inventory slot): alt text
Here is the variable setup attached to my Item class:
When I use the BP I attached where I use "make slate brush", if I select an asset form the image drop down instead of using my items picture variable, a picture will show up, so I feel that means its going through my loop correctly after casting, no?
asked Oct 07 '18 at 10:51 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here