Thread: 5E - Token Height Indicator
-
May 17th, 2021, 13:46 #201
Well, these changes seem simple enough. I am hope they can be folded into the existing code.
-
May 17th, 2021, 21:48 #202
Thanks for looking into this. I'll post an update in a few hours. Hopefully this fixes the issues from both nephranka and anathemort
-
May 17th, 2021, 23:19 #203
-
May 18th, 2021, 01:17 #204
On a side note. I was on the Discord channel for rob2e and Jeremy post this:
Jeremy Putman — 05/15/2021
for example. I changed a single line in the checkForNerbyEnemies function from
if checkMeleeDistanceBetweenTokens(token, sourceToken) == true then
return true;
end
to
if Token.getDistanceBetween(token, sourceToken) <= 5 then
return true;
end
And it seemed to trigger the same way with or without the new height extension on the FG forums, but also took into account that extensions height variable so if they were side by side, buy 10 ft up it didn't trigger the disadvantage.
It worked for sneak attack and I also tried it in the flanking & range ext from kent and it worked there as well. The one that did not work was pack tactics from kent. This is a big deal for those of us that want to use height and range rules. I let Jeremy know it was a great find. I thought I would share it.
-
May 18th, 2021, 01:31 #205
Thanks, nephraka - happy to see that. And thanks bratch9, as the proposed fix seems to work great (I was able to drop asset tokens, so should be fine for spell effects, and drop a bunch of tokens with the faction buttons). v3.9 posted accordingly.
-
May 18th, 2021, 02:12 #206
-
May 18th, 2021, 05:01 #207
- Join Date
- Jan 2020
- Posts
- 280
-
May 20th, 2021, 08:28 #208
4E
Token Height version 3.9
In tonight's game when ever somebody moved their token the Host received this error:
[ERROR] Handler error: [string "campaign/scripts/image.lua"]:30: attempt to index global 'Interface' (a nil value)
Not sure what triggered it. I remember opening an image and had players view it then when we went back to the map with their tokens on it, the error started happening. This extension is the only one with an "image.lua"
-
May 20th, 2021, 11:06 #209
I think changing:
Code:if getDistanceDiagMult or Interface.getDistanceDiagMult then
Code:if getDistanceDiagMult or (Interface and Interface.getDistanceDiagMult) then
bmos' extensions
he/them
-
May 20th, 2021, 14:04 #210
I just experienced something odd:
completely new campaign, 5E, no other extension running
added four characters to the CT, opened a random map [with LoS presets], tried to drag the characters from the CT to the map using the green helmet symbol. During the drag, as expected, a greenish square was shown, but when I released the mouse button, the characters stubbornly refused to enter the map....
Thread Information
Users Browsing this Thread
There are currently 5 users browsing this thread. (0 members and 5 guests)
Bookmarks