Trying to draw same image at different locations
I have an array of actors called Consumable which stores whatever the player picks up. Im working on the HUD now for the player and for every item on that array I want to draw a potion in my inventory HUD. My problem is that it's not drawing copies of the image even though I use a foreach loop, insteand its sliding the one potion image across the screen so I have a logic error here.
asked Oct 19 '14 at 11:35 PM in Blueprint Scripting
Try setting Whichslot to 0 before the foreach loop begins.
You could set it to 0 (or wherever you need to start drawing the images) on the False node of (if Index != 0)
Anyway you do not need Whichslot, you can simply multiply the current index with 50 which will give you the same result. Unless ofcource, you intend to start drawing it on X greater than 0.
Follow this question
Once you sign in you will be able to subscribe for any updates here