Hi, i don't know if you have find the way to do it but for those who wonder how to make biped with random armor equip, here's how i have done it just yesterday for my mod.
1. Create entity with biped model.
2. Create a procedure like this : https://ibb.co/fQyrZJF
It's easy to understand how the procedure work. It set an armor piece to the right slot with a random chance.
3. Add the procedure to the trigger On initial entity spawn of the entity previously created.
It's not exactly what you ask for but i'm sure you can modify the if statement at your will to make it work the way you want. A thing to notice is that the slots number of the armor and hands are not the same as the player's one.
English is not my first language, sorry if there's mistakes here and there.
Hi, i don't know if you have find the way to do it but for those who wonder how to make biped with random armor equip, here's how i have done it just yesterday for my mod.
1. Create entity with biped model.
2. Create a procedure like this : https://ibb.co/fQyrZJF
It's easy to understand how the procedure work. It set an armor piece to the right slot with a random chance.
slot 0 : main hand
slot 1 : off-hand
slot 2 : boots
slot 3 : legging
slot 4 : chestplate
slot 5 : helmet
3. Add the procedure to the trigger On initial entity spawn of the entity previously created.
It's not exactly what you ask for but i'm sure you can modify the if statement at your will to make it work the way you want. A thing to notice is that the slots number of the armor and hands are not the same as the player's one.
English is not my first language, sorry if there's mistakes here and there.