I searched and found what seems to be the right functions. However, I have been trying this:
- Code: Select all • Expand view
armoramount=GetArmorType("GreenArmor",0);
...
GiveInventory("GreenArmor",armoramount);
But turns out I'll get disproportionate amounts of armor, presumably because if I have 100 points of armor, at the moment of the morph, value 100 is stored, then I get 100 green armors, which gives me in total 10,000. By the time I try again, I reach some really big number.
I was reading in the "GiveInventory" that "health and armor it will give the total number". But this isnt happening.
What am I doing wrong here?


