So, I'm trying to make it such that a race gets a bonus to either Charisma or Intelligence. I've set up the array-based menu just fine, but I'm trying to steal the code from +2 attribute boost. However, that code fails because usrChosen1 is where it goes when you do it the way the existing attribute boosts do, and usrIndex seems to be where it goes when you're using an array based menu.
That said, I have no idea how to interact with usrIndex. This is what I've got, I'm relatively sure most people who read this will laugh and then be able to easily tell me how to fix it:
The error I get is that only derived fields can be modified. Thanks in advance.
That said, I have no idea how to interact with usrIndex. This is what I've got, I'm relatively sure most people who read this will laugh and then be able to easily tell me how to fix it:
Code:
field[usrIndex].value.field[aStartMod].value += 2
The error I get is that only derived fields can be modified. Thanks in advance.