I'd like to get an xmlspawner to spawn a random piece of armor. Lets keep it simple and say something from
Loot.RandomWeapon. Dont want a container, just a random item. Is this possible? If there is a thread discussing this, my google-fu must be weak today...
 
I don't know if the coding for XmlSpawner includes the ability to call from coded values like Loot.RandomWeapon, but you could hard-code each of the possible weapons on the spawner, and set the spawn amount to 1 and it should just pick one randomly.
 
I was hoping to avoid using a long list. In the end, I wanted to really have a random weapon or armor or whatever (maybe even crafting tools etc.). Basically a spawner that would just kick out random stuff.
 
You could probably code one by creating a new script, but I do not know if the built-in coding on the spawners themselves has that capability.
 
Back