View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old March 15th, 2018, 08:36 AM
Sorry I didn't get a chance to respond before now. My recommendation would be to store a user field on the component that's used for the picks that are storing the number of points available to each option. Then, when building the three picks in the editor, set the value of this field to 0, 1, and 2 on diferent picks.

Then, your first button would run a script that looks at the current value of pick A, stores that value in a variable, then copies the current value on B to A, then sets the stored value in the variable to be B's order value. The other button would run a very similar script, but instead, would swap the values on B and C.

Then, the picks would have a component script that said "if my order value is 0, I'm worth X points to my category, if my order value is 1, I'm worth Y, etc."
Mathias is offline   #5 Reply With Quote