PDA

View Full Version : How to check "Raw Distance" programmatically



GKEnialb
April 16th, 2021, 19:59
Is there a way to get the value of the "Raw Distance" flag on a map?

45795

I'm extended my token height extension (which also overrides the range arrow) to rulesets other than 5E and it appears that the other rulesets can use that flag in an equivalent manner to 5E's diagonal option for raw.

GKEnialb
April 16th, 2021, 21:14
Ah, bmos gave me the answer. I was using Interface.getDistanceDiagMult(), which wasn't changing when that flag was toggled, but ImageControl.getDistanceDiagMult() does change.