ALright. So I have two Arrays called arr_enemy and arr_drops and i set them up as On Start of Layout, set size (#,#,#) and then populated each according to the screenshot below.
I am following this wonderful guide (https://gamedevelopment.tutsplus.com/tutorials/how-to-code-monster-loot-drops--cms-20449). So now I have arr_stats and arr_temp to help assist with the function I am trying to make. The end goal is to have a enemy drop collectibles upon death but not every monster can drop every drop 100% of the time. Here is a screenie of the example I am following from the link above:
I am confused on were the following variables are going on line 22-24.
int BeastType
int DropChance
int Rarity
Correct me if I am wrong but are they inst.variables I have to set on each enemy? Am I reading this right?