View Single Post
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old December 6th, 2017, 01:56 PM
Quote:
Originally Posted by Minous View Post
Aaron the only reason I suggested a variable was for readability purposes. I find int_bonus far easier to remember then what hero.child[aINT].field[aBonus].value is referring to. Had this been a more complex request or a scaling value I would agree. But for what is just a simple reference value that is not going to be used outside of the script I felt that limiting the scope using a variable was appropriate.
It's all good, either way. I've learned that there are two ways to accomplish the task, and that's a good thing.

Thanks everyone.
Bob G is offline   #10 Reply With Quote