My code is the same as OGL for bar 1 and bar 2. I've adding speed and the other vision fields OGL code: setDefaultToken({
bar2_link: "npc_ac",
bar1_value: v["hp_max"],
bar1_max: v["hp_max"],
showname: true,
light_radius: lr,
light_hassight: true
})
My code: const hp = getIntValue(v.hp_max);
const tokenProps = {
bar1_value: hp,
bar1_max: hp,
bar2_link: 'AC',
bar3_link: 'speed',
showname: true,
showplayers_aura1: true,
showplayers_aura2: true,
light_angle: 360,
light_hassight: true,
light_losangle: 360,
};
if (radius) {
tokenProps.light_radius = radius;
}
if (dimRadius) {
tokenProps.light_dimradius = dimRadius;
} I did add speed as I mentioned above. Not sure what you mean "tokens kept changing". Does the vision not work? It should auto calculate, though I have no way of verifying as I don't have Volo. What is the result? If you're noticing the vision is slightly higher it's because roll20's shroud is not accurate so 60 isn't 60.