bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

Take Random Item from Collection (playmaker action) #230

Open bsimser opened 7 years ago

bsimser commented 7 years ago

Original report by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


What I'd like to request is "Get Random Item from Collection".

In my game, I have enemy AI stealing items from the player's bank and I'd like an action to pull something from the specified collection at random. I think I would just need it to return an ID number of something found in the collection. Once I have the ID, I can assign the item to the enemy AI and remove it from the collection.

I haven't paid for the upgrade yet, but I'd definitely be willing to do that since the older version is now deprecated and you'd probably just want to add that action to the latest version.