taekwondokid42
New Member
- Messages
- 268
- Reaction score
- 0
- Points
- 0
I want to have a variable with a name that consists of a variable.
My first varible is $war_type.
My second variable is $[$war_type]_cost.
How could I make it so that the engine recognizes $$war_type_cost, but at the same time, recognizes that $war_type is separate from $_cost?
Sorry if this is confusing; I couldn't think of a better way to phrase the problem.
My first varible is $war_type.
My second variable is $[$war_type]_cost.
How could I make it so that the engine recognizes $$war_type_cost, but at the same time, recognizes that $war_type is separate from $_cost?
Sorry if this is confusing; I couldn't think of a better way to phrase the problem.