Y
Yonidam
Guest
Random Item Generation Ability
Allright, I want to have an ability that randomly picks a number between 1 and 12 and according to which number is generated, it creates the assigned item (to that number) in the inventory of the hero.
How do I randomize numbers?
Does this have to be a custom script?
** EDIT: Question Answered: Had the wrong variable type assigned to my variable. Code Below.
Allright, I want to have an ability that randomly picks a number between 1 and 12 and according to which number is generated, it creates the assigned item (to that number) in the inventory of the hero.
How do I randomize numbers?
Does this have to be a custom script?
** EDIT: Question Answered: Had the wrong variable type assigned to my variable. Code Below.


