Re: DN's D&D4e Character Sheet Framework
Posted: Wed Feb 27, 2013 3:57 pm
First I would like to say what an outstanding layout you created here. Thank you for your work that you did.
I have a question being new to using json arrays. I love the way the characteristics are setup but I am a little confused how to make a call to lets say Strength and get the value?
Lets say I made a property called TotalHitPoints and I wanted to take the value of Strength and populate TotalHitPoints. What would be the code to do that with this type of setup?
Answered already.
I have a question being new to using json arrays. I love the way the characteristics are setup but I am a little confused how to make a call to lets say Strength and get the value?
Lets say I made a property called TotalHitPoints and I wanted to take the value of Strength and populate TotalHitPoints. What would be the code to do that with this type of setup?
Answered already.
Code: Select all
[H: StrPlusCon = json.get(json.get(ability,0),1) + json.get(json.get(ability,1),1)]