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

[Script] AlignmentTracker

1539098780

Edited 1539151352
Robin
API Scripter
AlignmentTracker I needed a small way to keep track of a characters alignment, so I created this script. It creates a nice table grid with the alignment on it. And you can easily change a persons alignment with "points". It creates a new handout for every character you make an alignment table for, with the option to show it to that player. Commands !alignment (config) - Shows the config menu. !alignment create - Creates a new handout with a table for the selected token(s). !alignment change-alignment - Change the entire alignment, eg. !alignment change-alignment LG !alignment change [morality] [lawfulness] - Change the alignment with morality and lawfulness "points" of the selected token(s), eg. !alignment change +1 -1 !alignment get - Shows a menu with the alignments of the selected token(s). Config Command &nbsp;- Which command you want to use for this script. Attribute - The alignment attribute to use, depends on the sheet used. Show Players - Put the handout in the corresponding player's Script:&nbsp; <a href="https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker" rel="nofollow">https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker</a>
1539126811
The Aaron
Pro
API Scripter
OOOH!&nbsp; Neat!&nbsp; I've always wanted to use something like this in my own games.
Your link goes to Concentration script.
1539151312
Robin
API Scripter
Kilter said: Your link goes to Concentration script. oh, changed. Thanks.
1539253350
Robin
API Scripter
Update 0.1.1 Fixed a bug where a character with no alignment would crash the API. <a href="https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker" rel="nofollow">https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker</a>
1539282192
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
My only critique (although I haven't tried it yet) is that the law-chaos axis should be flipped, or at least all the tables for this I've seen always have it the other way around.
1539326372
Robin
API Scripter
Scott C. said: My only critique (although I haven't tried it yet) is that the law-chaos axis should be flipped, or at least all the tables for this I've seen always have it the other way around. hm, your right indeed, the table I have now looks so weird after your comment. Will change this in the next update.
Robin said: Scott C. said: My only critique (although I haven't tried it yet) is that the law-chaos axis should be flipped, or at least all the tables for this I've seen always have it the other way around. hm, your right indeed, the table I have now looks so weird after your comment. Will change this in the next update. I think it also depends on your mindset while looking at it. Currently, it is represented in a mathematical sense: an X-Y plane where positive X is Law and negative X is Chaos while positive Y is Good and negative Y is Evil. So (+X, +Y) is Lawful Good and (-X, -Y) is Chaotic Evil.
I tried&nbsp; !alignment create &nbsp;on a character with&nbsp;Neutral as the alignment and got&nbsp; Corehya doesn't have an alignment. I did not create a table for him/her. Then tried Neutral&nbsp;Neutral and it worked.&nbsp; Just as a heads up as the charactermancer puts the alignment as one Neutral not two.
1539378834
Robin
API Scripter
Kilter said: I tried&nbsp; !alignment create &nbsp;on a character with&nbsp;Neutral as the alignment and got&nbsp; Corehya doesn't have an alignment. I did not create a table for him/her. Then tried Neutral&nbsp;Neutral and it worked.&nbsp; Just as a heads up as the charactermancer puts the alignment as one Neutral not two. Thanks, will look at it for the next update!
1539380586
Robin
API Scripter
Update 0.1.2 Table reorder. Added "Neutral" to the alignment possibilities. Bugfixes. <a href="https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker" rel="nofollow">https://github.com/RobinKuiper/Roll20APIScripts/tree/master/AlignmentTracker</a>