
Hey all,
I have created an automatic initiative system. This will roll initiative for all selected tokens on the current players map, add a relevant attribute, and then sort it based on their result (highest goes first). There are a couple of globals for you to set:
To use this, in the array type as many modifiers as you would like. Capitalization does not matter. It will combine them together and roll the die and add the combine modifier to the result.Combat_Begins.statName = new Array ("Dex"); //Stats to be added to roll, commas between values
Combat_Begins.rollValue = 20; //rolling 1d20, change if you roll 1dXX
Combat_Begins.sendChat = true; //True if you want the chat log to show their results
Combat_Begins.includeChars = true; //set false if you want to roll for players
Here is a link to the Gist: https://gist.github.com/DarokinB/5826648