Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Progress to Next Level

Hey guys! I'm new here, so I hope I'm posting in the right forum...I *Think* I am lol. My players and I have been trying to find a way to represent the progress to our next level on one of the three bars. I recently discovered the ability to add an attribute and started playing with it. So far my code for it (Using the 3.5 rules for determining level) is (@{expcurrent})-(@{level})*(@{level}-1)*(500) and I designated the max as (@{level}*1000) Now this works to an extent...however, whenever I exit out of the attributes screen all my variables become static for some reason. So I'll come back and find the solved equation, and if I add a higher value to that character's expcurrent nothing updates. Does anybody know of a fix I could use?
1420662402

Edited 1420696269
vÍnce
Pro
Sheet Author
Hi Nathan. Not exactly sure how you are going about this, but I think you need to use a character sheet since attributes derived using other attributes(formula) within the journal's attributes and abilities tab will render the text(output) only. Using a sheet, enter the the current xp @{expcurrent} and the next level xp @{expcurrent|max}(derived from your formula or entered manually) and then link the current xp @{expcurrent} to a bar on that character's token. There may be an API script that can handle this outside of using a sheet...
1420672291
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
Nathan, this forum is for using the Mentor level API feature. I suspect you're asking for macro formula. I'll move you post to Specific Use Questions. If I'm mistaken send me a PM and I'll move it back so you can ask about API specific solutions to your problem.
Vince said: Hi Nathan. Not exactly sure how you are going about this, but I think you need to use a character sheet since attributes derived using other attributes(formula) within the journal's attributes and abilities tab will render the text(output) only. Using a sheet, enter the the current xp @{expcurrent} and the next level xp @{expcurrent|max}(derived from your formula or entered manually) and then link the current xp @{expcurrent} to a bar on that character's token. There may be an API script that can handle this outside of using a sheet... So I tried putting the formula into the expgoal portion of the sheet, but the same thing happened. As soon as I closed down the character sheet the formula turned static. Am I using improper syntax possibly? Steve K. said: Nathan, this forum is for using the Mentor level API feature. I suspect you're asking for macro formula. I'll move you post to Specific Use Questions. If I'm mistaken send me a PM and I'll move it back so you can ask about API specific solutions to your problem. Thank you, like I said, I was unsure about where this post belonged.
Vince said: Hi Nathan. Not exactly sure how you are going about this, but I think you need to use a character sheet since attributes derived using other attributes(formula) within the journal's attributes and abilities tab will render the text(output) only. Using a sheet, enter the the current xp @{expcurrent} and the next level xp @{expcurrent|max}(derived from your formula or entered manually) and then link the current xp @{expcurrent} to a bar on that character's token. There may be an API script that can handle this outside of using a sheet... I should be slightly more clear on my goal, I am looking to automate the process by calculating directly from expcurrent. So I want to keep track of xp in that stat, then have the formula derive the percentage to next level, and have this value output to the bar. I would like to keep the formula as a variable if at all possible so that I can simply increase the experience stat and have the rest taken care of.
1420758728
vÍnce
Pro
Sheet Author
Use 2 attributes @{expcurrent} and @{expcurrent|max}, then set your token status bar to @{expcurrent}. As you add xp to @{expcurrent}, or @{expcurrent|max, your bar(percentage) will change to reflect your current progress. As far as auto-calculating @{expcurrent|max}, I think you would need to modify your sheet Auto-Calculating Values .
Vince said: Use 2 attributes @{expcurrent} and @{expcurrent|max}, then set your token status bar to @{expcurrent}. As you add xp to @{expcurrent}, or @{expcurrent|max, your bar(percentage) will change to reflect your current progress. As far as auto-calculating @{expcurrent|max}, I think you would need to modify your sheet Auto-Calculating Values . I'm not sure I can do that because I'm not a mentor.
1420829709
vÍnce
Pro
Sheet Author
What sheet are you using Nathan? The easiest solution is to use, or create the 2 attributes, update them as needed and link them to a status bar as mentioned. You only need to enter the xp for the next level which you can do right on the linked token and any added xp which you can also do on the linked token. The bar will show you the progress.
Vince said: What sheet are you using Nathan? The easiest solution is to use, or create the 2 attributes, update them as needed and link them to a status bar as mentioned. You only need to enter the xp for the next level which you can do right on the linked token and any added xp which you can also do on the linked token. The bar will show you the progress. I'm using the 3.5 character sheet because my players all played 3.5 for years before I met them. And I've been using the expgoal to enter the values manually, so if I can't find an automated solution we can still use that, lol