Jump to content
  • 0

How to make an item that randomize self icon when looted??


staz

Question

i have to create an item that can have different forms (a fruit) and same effect, i could just create alot of itens and put same event on it but i wanna make the things easier to manage then i try create a single item and randomize the icon when its created on the game, same drop sometime is an apple another time is banana blabla, anyone have some idea how to do it?  by the way i'm porting my byond one piece game to this engine and this answer will help-me to finish devil fruits system :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

yeah i lose some hours trying do it and no sucess :s, i was trying not to do copys os same items just to randomize the icon but i think is the faster way to proced, ty man! i keep thinking it would be a great adition to engine :) maybe some day i try to create it by hard code or some thing like this, its the first engine i see potencial since byond... right now i am like a child when gets a new toy :X

Link to comment
Share on other sites

  • 0

Hello !

If your items are the exact same, you can "blend" them together by having a icon with multiple fruits on it and call it generally "Fruits"

This way it doesn't matter which kind of fruits dropped.

 

 

Also depending on your needs there may be other solutions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...