Announcement

Collapse
No announcement yet.

Trouble Making an Inventory System

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Okay, and what problem are you experiencing?

    Leave a comment:


  • started a topic Trouble Making an Inventory System

    Trouble Making an Inventory System

    Hey, I'm working on a simple 3 item inventory system for my game. I am only using 2 variables: CurrentItem (Int) and InventoryArray (Array (Actor Class Reference)). You can change items with up and down mouse scroll wheel and numbers 1-3. On EventBeginPlay the first item is spawned (CurrentItem is 0 based so it is easier to work with arrays). The items are supposed to spawn at WeaponSpawn, which is a Scene component right in front of the character. For some reason my screenshot software wasn't working so I just copied the blueprint code to a text file.
    Attached Files
Working...
X