Random loot and damage. Need Help!

0 favourites
  • 3 posts
From the Asset Store
Perfect, complete, easy to use to use, out-of-the-box inventory system
  • Hi im working on a game that has randomized loot with randomized stats and im having trouble giving each dropped item random damage, range and fire rate. The first drop works fine but then when a second one drops it changes the first ones stats because I use a random number generator for all drops. I was looking into unique ids but I have no idea how to implement this. If you guys need any more info please feel free to comment.

  • Make a new event

    common item -on created

    common itemid = 1

    -- set to random actions

    and remove the common itemid=1 subevent from the dropevent..

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Make a new event

    common item -on created

    common itemid = 1

    -- set to random actions

    and remove the common itemid=1 subevent from the dropevent..

    Thanks for the speedy reply I did what you said but cant get it to generate numbers anymore I was having this problem earlier and it seems like an issue with detecting when the common item is spawned.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)