- Joined
- Mar 24, 2014
- Messages
- 579
- Reaction score
- 219
- First Language
- English
- Primarily Uses
- RMVXA
I'm not sure how I should approach this. I need one variable to alter the values of many variables.
PER = 1 thru 16
The variables below will become equal to one of these numbers based on PER. ( 0.30, 0.25, 0.20, 0.15, -0.30, 0.00)
I need PER to alter every one of the variables below at the same time. I figured an array might be appropriate here, but I don't know how to set one up.
For example: if PER = 1 then PHP = 0.30, PMP = 0.25, PTK = 0.20, PEF = 0.15, PAT = -0.30, PDF = 0.00, PGI = 0.00, PEX = 0.00
PHP
PMP
PTK
PEF
PAT
PDF
PGI
PEX
PER = 1 thru 16
The variables below will become equal to one of these numbers based on PER. ( 0.30, 0.25, 0.20, 0.15, -0.30, 0.00)
I need PER to alter every one of the variables below at the same time. I figured an array might be appropriate here, but I don't know how to set one up.
For example: if PER = 1 then PHP = 0.30, PMP = 0.25, PTK = 0.20, PEF = 0.15, PAT = -0.30, PDF = 0.00, PGI = 0.00, PEX = 0.00
PHP
PMP
PTK
PEF
PAT
PGI
PEX
