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] CombatTracker

December 06 (6 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter


Evan said:


keithcurtis said:

If you use an extension such as Stylus, you should be able to change that on-the-fly. That way you wouldn't have to worry about editing each release of the script.

Do you have a link to a "best practices/tips" for Stylus with Roll20?

I'm not aware of any kind of documentation along those lines. Either I find a specific thing to change, or modify an existing style. The former usually requires some amount of trial and error.

December 16 (6 years ago)

Edited December 16 (6 years ago)

Went to make sure everything was ready for game today, and I'm getting this when I use the start combat command with at least one NPC selected. Two different errors. Not sure what is different to cause them.


Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again. More info...

For reference, the error message generated was: TypeError: Cannot read property 'id' of undefined TypeError: Cannot read property 'id' of undefined at doTurnorderChange (apiscript.js:11433:55) at sortTurnorder (apiscript.js:11755:9) at rollInitiative (apiscript.js:11337:13) at startCombat (apiscript.js:11295:13) at handleInput (apiscript.js:10932:17) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:70:8) at /home/node/d20-api-server/api.js:1634:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)



Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again. More info...

For reference, the error message generated was: TypeError: Cannot read property 'get' of undefined TypeError: Cannot read property 'get' of undefined at checkMarkerturn (apiscript.js:10592:40) at getOrCreateMarker (apiscript.js:10553:19) at removeMarkers (apiscript.js:10211:9) at stopCombat (apiscript.js:10193:9) at handleInput (apiscript.js:9788:17) at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:65:16) at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:151:1), <anonymous>:70:8) at /home/node/d20-api-server/api.js:1634:12 at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560 at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)

December 23 (6 years ago)

I had the same thing.  It seems to me when I attempted to change the marker image it confused the script.  I uninstalled and reinstalled, then opened the config in game and reset all my settings and that seemed to clear it up...but now the default marker image doesn't work (even though it's listed as the marker image still in the config menu).  It's not *terribly* important but I did kinda like having at least the default marker image if not my custom chosen image.

December 23 (6 years ago)


Chris P. said:

I had the same thing.  It seems to me when I attempted to change the marker image it confused the script.  I uninstalled and reinstalled, then opened the config in game and reset all my settings and that seemed to clear it up...but now the default marker image doesn't work (even though it's listed as the marker image still in the config menu).  It's not *terribly* important but I did kinda like having at least the default marker image if not my custom chosen image.


Thank you. These steps got me back up and running as well. I had also configured custom markers (just swapping the green and red for now and next). 

January 01 (6 years ago)
Adam
Pro

Hi there,

Thanks for the script, it is wonderful.  Just a quick question, I seem to have messed something up where I can't get the marker image to show on anything?  Any suggestions on fixing this?


Thanks,


Adam said:

Hi there,

Thanks for the script, it is wonderful.  Just a quick question, I seem to have messed something up where I can't get the marker image to show on anything?  Any suggestions on fixing this?


Thanks,


Adam, Make sure you are using the correct kind of image link. for images hosted in your library its best to drag them on the table top then click on it so its the active token do a shift z and then right click on that window. If you are using chrome you should be able to copy the image url and paste into a note pad. You need to change the format from original to thumb. Example https://s3.amazonaws.com/files.d20.io/images/some number here/file folder/original.png?[number here] to  https://s3.amazonaws.com/files.d20.io/images/some number here/file folder/thumb.png

 Be sure to make sure your not copying any extra spaces as that will sometimes through it off as well in my experience. 


Is there a way to get the script to play a macro using roll20 Audio Manager that plays a short audio file automatically each time the turn order changes? I think that would be neat.

January 03 (6 years ago)


Chris P. said:

Is there a way to get the script to play a macro using roll20 Audio Manager that plays a short audio file automatically each time the turn order changes? I think that would be neat.


Check out this part:

Macro Config

Macro Config

The macro (ability) should be in the characters abilities tab.

Abilities Example

  • Run Macro - Toggle if we should run the macro on a characters turn.
  • Macro Name - The name of the macro.


from: https://github.com/RobinKuiper/Roll20APIScripts/tree/master/CombatTracker

(I've never used this function so I can't provide further help sorry)


January 06 (6 years ago)
Adam
Pro


Mark (GM) said:


Adam said:

Hi there,

Thanks for the script, it is wonderful.  Just a quick question, I seem to have messed something up where I can't get the marker image to show on anything?  Any suggestions on fixing this?


Thanks,


Adam, Make sure you are using the correct kind of image link. for images hosted in your library its best to drag them on the table top then click on it so its the active token do a shift z and then right click on that window. If you are using chrome you should be able to copy the image url and paste into a note pad. You need to change the format from original to thumb. Example https://s3.amazonaws.com/files.d20.io/images/some number here/file folder/original.png?[number here] to  https://s3.amazonaws.com/files.d20.io/images/some number here/file folder/thumb.png

 Be sure to make sure your not copying any extra spaces as that will sometimes through it off as well in my experience. 



Thanks for the reply Mark, I was actually just hoping to use the original one for now, is that possible?

January 06 (6 years ago)

Edited January 06 (6 years ago)
Kai
Sheet Author

Hey, just a quick question.

If I start combat with !ct start or from the menu the first combatant's turn is announced twice in chat. Is this a bug or am I doing something wrong? This also counts as two turns for condition duration.

January 06 (6 years ago)
Kai
Sheet Author

And a second question.

Can the message that can be added to a favorite condition consist of more than one word? That seems not to work for me.

January 06 (6 years ago)

Edited January 06 (6 years ago)


Adam said:


Mark (GM) said:


Adam said:

Hi there,

Thanks for the script, it is wonderful.  Just a quick question, I seem to have messed something up where I can't get the marker image to show on anything?  Any suggestions on fixing this?


Thanks,


Adam, Make sure you are using the correct kind of image link. for images hosted in your library its best to drag them on the table top then click on it so its the active token do a shift z and then right click on that window. If you are using chrome you should be able to copy the image url and paste into a note pad. You need to change the format from original to thumb. Example https://s3.amazonaws.com/files.d20.io/images/some number here/file folder/original.png?[number here] to  https://s3.amazonaws.com/files.d20.io/images/some number here/file folder/thumb.png

 Be sure to make sure your not copying any extra spaces as that will sometimes through it off as well in my experience. 



Thanks for the reply Mark, I was actually just hoping to use the original one for now, is that possible?


You would need to reset the combat tracker and then it should reset to the default image. You will need to then redo your settings as they also go back to the default settings but should not affect status info, if you use that in conjunction with the tracker.

Apologies in advance. I'm a novice. Is it possible to set multiple entries for Ini. Attribute?

AD&D 2e uses various forms of "weapspeed" for PCs' initiative modifier and "monsterini" for NPCs' initiative modifier.


Jason D. said:

Apologies in advance. I'm a novice. Is it possible to set multiple entries for Ini. Attribute?

AD&D 2e uses various forms of "weapspeed" for PCs' initiative modifier and "monsterini" for NPCs' initiative modifier.


The combat Tracker only uses one variable that you can customize. Its been a long time since I have played AD&D 2E  but a lot will depend on which character sheet you are using if any.  While Robins script doesn't do this I have used one called Group Initiative done  by The Aaron which may offer you some options. Note I actually use both that and the combat tracker for my games and do not really have any issues with either. I set up combat tracker to use status info and use it for the players, and I use Group Init for my NPC/Monsters.  

Thank you, Mark. That is exactly what I will do. I appreciate it.

Anyone have an issue where settings arent saving? I toggled the reroll init per round but it keeps toggling off.

January 21 (6 years ago)


Mark (GM) said:


Jason D. said:

Apologies in advance. I'm a novice. Is it possible to set multiple entries for Ini. Attribute?

AD&D 2e uses various forms of "weapspeed" for PCs' initiative modifier and "monsterini" for NPCs' initiative modifier.


The combat Tracker only uses one variable that you can customize. Its been a long time since I have played AD&D 2E  but a lot will depend on which character sheet you are using if any.  While Robins script doesn't do this I have used one called Group Initiative done  by The Aaron which may offer you some options. Note I actually use both that and the combat tracker for my games and do not really have any issues with either. I set up combat tracker to use status info and use it for the players, and I use Group Init for my NPC/Monsters.  


Are you able to document how you have them setup (perhaps a separate thread)? I specifically uninstalled Group Initiative when I loaded Combat Tracker as a I was concerned over conflicts.


Evan said:


Mark (GM) said:


Jason D. said:

Apologies in advance. I'm a novice. Is it possible to set multiple entries for Ini. Attribute?

AD&D 2e uses various forms of "weapspeed" for PCs' initiative modifier and "monsterini" for NPCs' initiative modifier.


The combat Tracker only uses one variable that you can customize. Its been a long time since I have played AD&D 2E  but a lot will depend on which character sheet you are using if any.  While Robins script doesn't do this I have used one called Group Initiative done  by The Aaron which may offer you some options. Note I actually use both that and the combat tracker for my games and do not really have any issues with either. I set up combat tracker to use status info and use it for the players, and I use Group Init for my NPC/Monsters.  


Are you able to document how you have them setup (perhaps a separate thread)? I specifically uninstalled Group Initiative when I loaded Combat Tracker as a I was concerned over conflicts.


Setting the both up can be done from the oneclick install, you shouldn't have any conflicts in doing so. The real trick is setting up The Aaron script with the correct bonus groups for it to use.  Documentation on that can be found here and there have been some others threads asking how it works examples 1 2 3 4 . While these won't specifically how to set them up in tandem it will provide basic understanding of how it works. If you need more specifics you can pm me directly and I can go over it with you. As with any api you install I do suggest testing because there is no guarantee you won't get one, but so far I have not. Robin script is simple that its very intuitive and simple in design. 


Regards, 

Mark (GM)



Derek L. said:

Anyone have an issue where settings arent saving? I toggled the reroll init per round but it keeps toggling off.


I have not, if its not saving I would suggest normal API script troubleshooting, Try disabling it then re-enabling it.  Can even delete and reinstall it as well. If it still persist, create a new temp game see if it duplicates. If it doesn't then disable all your scripts in the game having an issue, then turn it on see if it duplicates, adding each api script 1 by one , if you add them all back an it works, great, but if it stops working after adding the last one, its likely conflicting with last one you just added or its combination of scripts running in tandem. 

January 23 (6 years ago)


Derek L. said:

Anyone have an issue where settings arent saving? I toggled the reroll init per round but it keeps toggling off.


Yes I am! I swear I turned it on, then it was off. I turned it on last session and now it's off again. Something odd going on there for sure. IIRC I am using the dev (not one-click) version of the script. 

January 24 (6 years ago)

I'm using the Shaped Sheet with the ShapedScript. This script works wonders, but now that I've determined that I need to utilize the ShapedScript's ammo recovery feature, I find that using CT disables this functionality. This is the case even if I have CT set to stop combat on close of the turn tracker window and close it manually. With CT disabled the ShapedScript does it's thing properly. 

Is there a way to make these two scripts work together? 

January 24 (6 years ago)

I accidentally discovered this in yesterdays session. I hit the macro button that triggered the !group-init -clear command with the GroupInitative script. This promts the ammo recovery feature. Tested it again now.

January 31 (6 years ago)
Havoc
Sheet Author
API Scripter

I wanted to ask for features. It's a great script.

- The ability to turn whisper GM only for non-player tokens, not all tokens.

- The ability to hide names in announcements, so players only see the token image, no name.

March 26 (6 years ago)

Edited March 26 (6 years ago)
I was looking at using this script for a Savage Worlds game and was wondering if anyone know how or it this would work when using cards for initiative instead of numbers? Ideally with the draw each turn.
May 03 (5 years ago)

Edited May 03 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

Folks, I made his combattracker and statusinfo work along with add and remove macros that enables me to quickly assign the condition (which can be custom using statusinfo), duration, direction (whether the number is increasing or decreasing or never changes).  

combattracker 0.2.7 had a bug that I couldn't get around causing an ID error so I went back to version 0.2.5.   Also, there was another bug that caused combattracker to step on other APIs that I was running.  I fixed that.  There was also another issue with direction (up down or no change) that I was able to fix.  Finally, he had some looping issues causing combattracker to act a bit funny in certain situations.  

I'm currently working on a way to get combattracker to use an initiative value OTHER than the standard OGL5e version.  

Since these are Robin's scripts I'm not going to publish anything but since he's been away for a while and until he is back, if you want what I have, then PM me.  You'll need my versions of combattracker, statusinfo (I forced integration of the two) and tokenmod (latest and greatest).  If you have issues, then PM me as well.  

By creating the statuses within statusinfo, they are automatically brought into combattracker and you can reference the name of the condition as you entered it into statusinfo.   As the condition is assigned, the description of that condition shows in chat, so if you want a quick way to reference rules for these conditions, add them into statusinfo for each condition.  

Add Macro

!ct add ?{Condition|Ablaze,ablaze|Advantage,advantage|Bleeding,bleeding|Blinded,blinded|Broken,broken|Dead,dead|Deafened,deafened|Entangled,entangled|Fatigued,fatigued|Fear,fear|Frenzy,frenzy|Grappled,grappled|Hatred,hatred|Poisoned,poisoned|Prone,prone|Stunned,stunned|Surprised,surprised|Terror,terror|} ?{Duration|1} ?{Direction|0} 

!ct remove ?{Condition|Ablaze,ablaze|Advantage,advantage|Bleeding,bleeding|Blinded,blinded|Broken,broken|Dead,dead|Deafened,deafened|Entangled,entangled|Fatigued,fatigued|Fear,fear|Frenzy,frenzy|Grappled,grappled|Hatred,hatred|Poisoned,poisoned|Prone,prone|Stunned,stunned|Surprised,surprised|Terror,terror|}







May 03 (5 years ago)

Edited May 03 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

Alright, so I got the ability to roll init using Combattracker against any set of attributes

Changes to Robin's scripts so far

1) Combattracker was being invoked by any and all other APIs running.  This would cause CT to fail and bring down your API server causing your other APIs to crash.  This has been fixed

2) Using version 0.2.5 because 0.2.7 fails every time and I don't want to fix that.  This means the ability to roll something other than a D20 for init will have to manually set in the code and I'll show you how

3) Direction is working (increase/decrease/no change) using duration 

4) Looping fixed so it doesn't behave strangely at times

5) Fields other than initiative_bonus now work.  HOWEVER, you can't use a derived field as that isn't actually stored on the character sheet.  So if you have base fields that make up the derived value you want to use for initiative you add each field as it is named (by looking at the attributes section of any character sheet in your game) in the ini attribute field for CT config, comma delimited, and it will now scroll through these comma delimited fields to add them up into the final initiative.  Then the roll is applied.  

Again PM me if you want this code.  

May 03 (5 years ago)

Edited May 03 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

After consideration, I'm not going to publish these changes to Roll20 out of respect but I will post a link for you to download.  Directions on what to do are on github.  

https://github.com/vicberg/Combattracker/tree/master

A note on rolling Initiative from Combat Tracker.  It assumes you have a token tied to a character sheet.  One of the issue I fixed is that if you didn't it would fail and bring down all your APIs.  That's been fixed.  So if you forget to tie a token to a character sheet, that token will be skipped on the Initiative roll.  

May 03 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

If you are using my versions and finding errors or bizarre behavior please PM me.

May 03 (5 years ago)
Ravenknight
KS Backer

Hi Victor, sounds like you improved on a lot! Does this version still allow re-roll of initiative every round?

May 04 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

Yes but I haven't tested it.  So if you find issues, let me know

May 06 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

I've applied fixes to Robin's latest release 0.2.7.  I've removed the extra logging that I put in, the upgrade statusinfo message as well as the Observer Token Change message

Here's the link: https://github.com/vicberg/Combattracker

May 24 (5 years ago)

Edited May 24 (5 years ago)
Ravenknight
KS Backer

Hi Victor, I've noticed something. So far we have used a version of Combat Tracker 0.2.7 edited by ConnorSolo that tracked advantage on initiative - this latest version do not. Is this possible to add?

https://app.roll20.net/forum/post/6349145/script-combattracker/?pageforid=6972203#post-6972203

Thanks for all your hard work on this great script.

May 24 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

Sure thing, but I'm not seeing a link to code in that thread.  I'm assuming Connor posted it somewhere else?  

May 24 (5 years ago)

Edited May 24 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

BTW, I've been posting in Statusinfo 

Version 0.2.82 is out here:  https://github.com/vicberg/Combattracker

Incorporated Robin's 0.2.7.  Fixed a bug where assigning the same condition to a token (with a higher or lower duration or a higher or lower direction) wasn't working.  

Outstanding:

There's still an intermittent failure issue where the API crashes in handling Graphic Movement.  

This script has become pretty stable for me.  Very few crashes (with the exception of the one above).  It does require that tokens are setup correctly (they are all assigned to a character sheet, etc.).  


Victor B. said:

BTW, I've been posting in Statusinfo 

Version 0.2.82 is out here:  https://github.com/vicberg/Combattracker

Incorporated Robin's 0.2.7.  Fixed a bug where assigning the same condition to a token (with a higher or lower duration or a higher or lower direction) wasn't working.  

Outstanding:

There's still an intermittent failure issue where the API crashes in handling Graphic Movement.  

This script has become pretty stable for me.  Very few crashes (with the exception of the one above).  It does require that tokens are setup correctly (they are all assigned to a character sheet, etc.).  


There was a bug in Combat Tracker wherein "automatically reroll ini p. round" was not being remembered (ie. you had to turn it on every time you reloaded Roll20/started the API sandbox). Are you able to take a look at that one? I can log as a bug in your github if that helps for your VC.

May 24 (5 years ago)
Ravenknight
KS Backer


Evan said:


Victor B. said:

BTW, I've been posting in Statusinfo 

Version 0.2.82 is out here:  https://github.com/vicberg/Combattracker

Incorporated Robin's 0.2.7.  Fixed a bug where assigning the same condition to a token (with a higher or lower duration or a higher or lower direction) wasn't working.  

Outstanding:

There's still an intermittent failure issue where the API crashes in handling Graphic Movement.  

This script has become pretty stable for me.  Very few crashes (with the exception of the one above).  It does require that tokens are setup correctly (they are all assigned to a character sheet, etc.).  


There was a bug in Combat Tracker wherein "automatically reroll ini p. round" was not being remembered (ie. you had to turn it on every time you reloaded Roll20/started the API sandbox). Are you able to take a look at that one? I can log as a bug in your github if that helps for your VC.

I thought that was solved in the recent release?

May 24 (5 years ago)
Ravenknight
KS Backer


Victor B. said:

Sure thing, but I'm not seeing a link to code in that thread.  I'm assuming Connor posted it somewhere else?  


Ack, I'm trying to post it here but it seems that the script is too big. I will see if I can find a directlink somewhere.

May 25 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

Make a gist in github.  They are easy and free.  

May 26 (5 years ago)
Ravenknight
KS Backer


Victor B. said:

Make a gist in github.  They are easy and free.  

Not that easy! ;) I sent you a PM instead.



Victor B. said:

Sure thing, but I'm not seeing a link to code in that thread.  I'm assuming Connor posted it somewhere else?  


Hey Victor, I'll see about posting my modified version of the script here or on a gist in github (I agree that its not the most intuitive process!) sometime soon. It's really just a simple edit that lets it track rolling with advantage when one uses the 5e OGL sheet, but not with any other sheet sadly. I could maybe adapt it for the Shaped sheet if I find the time.


Ravenknight said:


Evan said:


Victor B. said:

BTW, I've been posting in Statusinfo 

Version 0.2.82 is out here:  https://github.com/vicberg/Combattracker

Incorporated Robin's 0.2.7.  Fixed a bug where assigning the same condition to a token (with a higher or lower duration or a higher or lower direction) wasn't working.  

Outstanding:

There's still an intermittent failure issue where the API crashes in handling Graphic Movement.  

This script has become pretty stable for me.  Very few crashes (with the exception of the one above).  It does require that tokens are setup correctly (they are all assigned to a character sheet, etc.).  


There was a bug in Combat Tracker wherein "automatically reroll ini p. round" was not being remembered (ie. you had to turn it on every time you reloaded Roll20/started the API sandbox). Are you able to take a look at that one? I can log as a bug in your github if that helps for your VC.

I thought that was solved in the recent release?


Which release? I have 0.2.7 currently and it still loses the setting. I'm going to try Victor's version so I'll see if it's gone.

May 27 (5 years ago)
Ravenknight
KS Backer


Evan said:


Ravenknight said:


Evan said:


Victor B. said:

BTW, I've been posting in Statusinfo 

Version 0.2.82 is out here:  https://github.com/vicberg/Combattracker

Incorporated Robin's 0.2.7.  Fixed a bug where assigning the same condition to a token (with a higher or lower duration or a higher or lower direction) wasn't working.  

Outstanding:

There's still an intermittent failure issue where the API crashes in handling Graphic Movement.  

This script has become pretty stable for me.  Very few crashes (with the exception of the one above).  It does require that tokens are setup correctly (they are all assigned to a character sheet, etc.).  


There was a bug in Combat Tracker wherein "automatically reroll ini p. round" was not being remembered (ie. you had to turn it on every time you reloaded Roll20/started the API sandbox). Are you able to take a look at that one? I can log as a bug in your github if that helps for your VC.

I thought that was solved in the recent release?


Which release? I have 0.2.7 currently and it still loses the setting. I'm going to try Victor's version so I'll see if it's gone.

Sorry for not being clear. I meant Victor's latest release.

May 27 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

I don't use auto-reroll functionality.  Please let me know if the problem is still there.  

June 01 (5 years ago)


Ravenknight said:

Hi Victor, I've noticed something. So far we have used a version of Combat Tracker 0.2.7 edited by ConnorSolo that tracked advantage on initiative - this latest version do not. Is this possible to add?

https://app.roll20.net/forum/post/6349145/script-combattracker/?pageforid=6972203#post-6972203

Thanks for all your hard work on this great script.


Victor B. said:

Sure thing, but I'm not seeing a link to code in that thread.  I'm assuming Connor posted it somewhere else?  


Hey Raven and Victor! Sorry that I took so long to do so, but here's my version of Robins Script that allows rolling with advantage on the 5e OGL sheet, adding die bonuses to initiative, whispering npc rolls to the GM only, and adding a picture of the token to chat announcements among other small changes. It is based on the 0.2.7 build of the script so it might not have all the fixes that Victor added, but most of the edits I made should be fairly easy to import over to his new version. If you have any questions or issues let me know!

https://github.com/ConnorSolo/CombatTrackerCustom


June 02 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

Thanks Connor.  I've got your changes in for advantage.  You also have an if/else 1d4 logic in your code.  Is the 1d4 a house rule of some type?  Not sure what that code is for.  

June 02 (5 years ago)


Victor B. said:

Thanks Connor.  I've got your changes in for advantage.  You also have an if/else 1d4 logic in your code.  Is the 1d4 a house rule of some type?  Not sure what that code is for.  


Yeah, you're absolutely right! I think its a trait from Wayfinder's guide to Eberron, but one character gets to roll 1d4 and add it to his initiative. It's not a common rule so it doesn't have to be included in your version or anything.

Can somebody tell me if there's an easy way to add a token in to the combat tracker initiative after it's done? I tried just rolling them in manually but then it didn't sort properly after.

June 03 (5 years ago)
Ravenknight
KS Backer


Josh M. said:

Can somebody tell me if there's an easy way to add a token in to the combat tracker initiative after it's done? I tried just rolling them in manually but then it didn't sort properly after.

No easy way if you want to keep their correct initiative and sorted. I usually add new tokens by right-clicking and use "add-turn" on the token menu. That puts them at zero and below the others but its still kinda wonky to be honest.

June 04 (5 years ago)

Edited June 04 (5 years ago)
Victor B.
Pro
Sheet Author
API Scripter

Yes, if someone has the token selected rolling initiative off the character sheet works and will replace whatever is in the turnorder or add to it.  Also you can right click on the token and click add turn, you can then simply type over the initiative number within the turnorder window and hit enter to manually set the initiative


You need to either drag drop the new addition within the turn order window to the correct initiative location or you can go to turn order settings and click the order button (ascending or descending).  There's nothing that will auto sort new additions

Okay, I have a new issue. The marker that's supposed to be around the tokens just isn't there, and no amount of resetting or deleting and re-adding the script will fix it. And when I try to change it to a different image it just bugs out the script. I like the default marker, any idea why it's not working?