Hey, so I started working on the 4e list, and I wanted to include all of the conditions. However, I'm a stickler for formatting.
This is what I wanted them to look like:
When a creature is Blinded:
- They can’t see, which means its targets have total concealment against it.
- They take a -10 penalty to Perception checks.
- They grant combat advantage
- They can't flank.
- They can't have combat advantage on anyone.
However, when I tried to do this (after searching for how to do a newline with javascript, and finding \n), I found that there were still seemingly arbitrary newlines thrown in there. I came to the conclusion that you put it in there to automatically format the hints so that each line was no longer than a certain length. I changed the numChars variable to 1000 and this solved the issue. However, I wanted to know if this causes massive problems down the road, if you want me to find a different way to format them, or if you have a different solution.
Here's what I used, just in case you wanted to see:
/*
To use:
1. Create a page called "Loading"
2. On the object layer create a textbox
*/
on("ready", function(obj) {
var displaySpeed = 10000;
var numChars = 1000;
var tips = [
"When a creature is Blinded:\n- They can’t see, which means its targets have total concealment against it.\n- They take a -10 penalty to Perception checks.\n- They grant combat advantage\n- They can't flank.\n- They can't have combat advantage on anyone.",
];
Everything else stayed the same.
Edit:
Out of curiosity, the hints aren't in order, are they?