need a little help with something, for instance i have 4 npcs and 4 variables, i want each npc to take one variable (randomly) however they should not contain the same variables at the same time, for instance
npc 1 = variable 1 with val of 1
npc 2 = variable 3 with val of 3
npc 3 = variable 4 with val of 4
npc 4 = variable 2 with val of 2
basically if the variable is already assigned to an npc, it should not be assigned to another npc, any idea on how to do that?
Question
Hijirikawa
need a little help with something, for instance i have 4 npcs and 4 variables, i want each npc to take one variable (randomly) however they should not contain the same variables at the same time, for instance
npc 1 = variable 1 with val of 1 npc 2 = variable 3 with val of 3 npc 3 = variable 4 with val of 4 npc 4 = variable 2 with val of 2
basically if the variable is already assigned to an npc, it should not be assigned to another npc, any idea on how to do that?
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.