Search found 546 matches

by wrathchild
Sat Feb 15, 2020 12:00 pm
Forum: MapTool
Topic: Why floating point result?
Replies: 2
Views: 634

Re: Why floating point result?

THANK YOU! Was driving me nuts! (the solution was to be floor'ing that whole "else" statement - just the ST/4 wouldn't work on its own)
by wrathchild
Sat Feb 15, 2020 10:06 am
Forum: MapTool
Topic: Why floating point result?
Replies: 2
Views: 634

Why floating point result?

Hi all I have this formula for a token property field: SwingMod:{if(ST<9, ceil(ST/2)-6, ((ST/4)-floor((ST-1)/4))*4-2)} Why does this formula return a result with a floating point number? ST is simply ST:10 or another integer. This similar formula does not return a floating point: ThrustMod:{floor(if...
by wrathchild
Sun Jan 12, 2020 7:35 am
Forum: Macros
Topic: listSort issue
Replies: 2
Views: 487

Re: listSort issue

That works beautifully, thanks :)
by wrathchild
Sun Jan 12, 2020 3:56 am
Forum: Macros
Topic: listSort issue
Replies: 2
Views: 487

listSort issue

Hi all I did this little piece of code as prep for an attempt at a targeting macro. It works fine, exept for one little thing: The listSort'ing of the NPCList - doesn't. How come? I can tell that the list has an empty field at the end, but I don't know if that is part of it? More functional suggesti...
by wrathchild
Sat Dec 14, 2019 1:16 pm
Forum: MapTool
Topic: Lag with Snap to Grid
Replies: 6
Views: 847

Re: Lag with Snap to Grid

Just for the curious: maps have been redone with drawn and transferred token VBL, and this has largely solved the problems.

I'm wondering about the "generate VBL" function - it seems to be risky, but it may still be a good idea on tokens with only straight lines without shadows and such?
by wrathchild
Sun Dec 08, 2019 1:19 pm
Forum: MapTool
Topic: Lag with Snap to Grid
Replies: 6
Views: 847

Re: Lag with Snap to Grid

That map has been updated, and it helped some. Not lag free, but not too bad/annoying now I think.
by wrathchild
Sun Dec 08, 2019 2:58 am
Forum: MapTool
Topic: Lag with Snap to Grid
Replies: 6
Views: 847

Re: Lag with Snap to Grid

My feeling is that the auto-genereret VBL is to blame. I think I'll redo one of the maps to draw-and-transfer tokens and see what happens. Thanks :)
by wrathchild
Sat Dec 07, 2019 4:54 pm
Forum: MapTool
Topic: Lag with Snap to Grid
Replies: 6
Views: 847

Lag with Snap to Grid

Hi All If I'm seeing lag when moving tokens when Snap to Grid is on, but not when it's off, what would likely be the culprit? First, there is lag to move the token, and then there's lag calculating and showing the path. It does seem to matter that there a a lot of tokens with VBL on the map, most of...
by wrathchild
Thu Sep 26, 2019 1:15 am
Forum: MapTool
Topic: Token updating
Replies: 11
Views: 1485

Re: Token updating

Just figured it out 5 mins ago, but thanks :-)
by wrathchild
Wed Sep 25, 2019 3:57 pm
Forum: MapTool
Topic: Token updating
Replies: 11
Views: 1485

Re: Token updating

So I went and made this little macro. [h: return = getCurrentMapName()] [h: choose = getAllMapNames()] [h: input("selMap|"+choose+"|Choose Map|RADIO|VALUE=STRING")] [h: setCurrentMap(selMap)] [h: choice = getTokenNames("json")] [h: choice = json.sort(choice)] [h: setCur...
by wrathchild
Tue Sep 24, 2019 3:50 pm
Forum: MapTool
Topic: Token updating
Replies: 11
Views: 1485

Re: Token updating

Looking at token-related macro commands, that actually doesn't seem to hard to set up. Thanks for the direct.
by wrathchild
Tue Sep 24, 2019 1:53 pm
Forum: MapTool
Topic: Token updating
Replies: 11
Views: 1485

Re: Token updating

That sounds interesting. Do you have a macro example?
by wrathchild
Tue Sep 24, 2019 1:49 pm
Forum: MapTool
Topic: Development of Initiative system
Replies: 2
Views: 571

Re: Development of Initiative system

This might be wholly outside the scope of Maptool, but thinking further on this, it might be possible to expand the initiative system to encompass time management in general. If you can count rounds, you can counts minutes, hours, watches, days, months and years etc. You could set up the system to b...
by wrathchild
Tue Sep 24, 2019 11:50 am
Forum: MapTool
Topic: Token updating
Replies: 11
Views: 1485

Re: Token updating

Yes, that is basically a variant on #1. It has the disadvantage of being less flexible in terms of retrieveing the tokens when populating new maps. Unless I'm missing something, and that tokens are stored individually ... or can be retrieved from inside the map file? Hadn't thought of that option, w...
by wrathchild
Tue Sep 24, 2019 1:12 am
Forum: MapTool
Topic: Token updating
Replies: 11
Views: 1485

Re: Token updating

well, I guess you can store tokens in two ways: 1: Inside the campaign file(s). This is convenient, but takes up space in the files. Thus you can 2: Store the token on a drive of some sort, hard or virtual. Here, it will have some sort of placement, which is usually expressed as some sort of path li...

Go to advanced search