1
Ask a Question / Question - How to use a List to generate Actors?
« on: September 30, 2013, 08:29:45 pm »
Hello all,
I am trying to create an inventory system.
My idea is to have a list of items in a inventory shop, when you purchase an item, it is added to a list (Let's call it Inventory_BOUGHT).
So for each item in Inventory_BOUGHT, I want to generate actors to show up as Icons for the player to equip, in another scene/page. I understand from Stencylpedia that you can add, replace or remove to a list easily, but getting the data from the list is a challenge for me, I could not figure out how to use the Getters.
How is the flow:
Shop > Item(s) bought gets added to List > Generates Actors in next scene to be Equipped, from List.
Any experts with experience with the List mind lending a hand?
I am trying to create an inventory system.
My idea is to have a list of items in a inventory shop, when you purchase an item, it is added to a list (Let's call it Inventory_BOUGHT).
So for each item in Inventory_BOUGHT, I want to generate actors to show up as Icons for the player to equip, in another scene/page. I understand from Stencylpedia that you can add, replace or remove to a list easily, but getting the data from the list is a challenge for me, I could not figure out how to use the Getters.
How is the flow:
Shop > Item(s) bought gets added to List > Generates Actors in next scene to be Equipped, from List.
Any experts with experience with the List mind lending a hand?