mafghine
Member
Hello, I made a xmlspawner that has about 15 diff statics placed in gift boxes. I have it spawn one at a time when player has a drop item in his pack. Then the spawner takes the item so the spawner dont drop too many gifts. All working as intended.
However, I cant seem to make it spawn a random one from the list. It always spawns the first one. All 15 random items are in sub 1 then in sub 2 I have TAKE/item. With a max of 1 item. I cant seem to find a answer as the info on this wonderful system is getting harder to find. Any help is appreciated as always.
Edit: whoops, posted in wrong forums, still on first cup of coffee.

However, I cant seem to make it spawn a random one from the list. It always spawns the first one. All 15 random items are in sub 1 then in sub 2 I have TAKE/item. With a max of 1 item. I cant seem to find a answer as the info on this wonderful system is getting harder to find. Any help is appreciated as always.
Edit: whoops, posted in wrong forums, still on first cup of coffee.

Last edited: