Search found 350 matches

by metatheurgist
Mon Dec 17, 2018 5:53 am
Forum: Macros
Topic: State macro selection with check boxes instead of drop down menu?
Replies: 33
Views: 1319

Re: State macro selection with check boxes instead of drop down menu?

If the campaign only contains your states and they're all image states you can just do getTokenStates(","). Otherwise you'll have to get each group and join them. sGroup1=getTokenStates(",","Group1") sGroup2=getTokenStates(",","Group2") sStates=ListAppend(sGroup1,sGroup2) There's only one place that...
by metatheurgist
Mon Dec 17, 2018 4:15 am
Forum: Macros
Topic: State macro selection with check boxes instead of drop down menu?
Replies: 33
Views: 1319

Re: State macro selection with check boxes instead of drop down menu?

Are your token states in a group? if they are you have to supply that groupname to getTokenStates() as the second parameter.
by metatheurgist
Mon Dec 17, 2018 2:58 am
Forum: Macros
Topic: State macro selection with check boxes instead of drop down menu?
Replies: 33
Views: 1319

Re: State macro selection with check boxes instead of drop down menu?

All you would need are the "state" macro (the dialog) and the "ProcessState" macro (the macro called to process the dialog return values). The only function called in ProcessState is "AC" which recalcs AC based on the states selected. if you remove that macro call it's entirely possible that it will...
by metatheurgist
Mon Dec 17, 2018 12:20 am
Forum: Macros
Topic: State macro selection with check boxes instead of drop down menu?
Replies: 33
Views: 1319

Re: State macro selection with check boxes instead of drop down menu?

You could do input with checkboxes like so:
inputcheckbox.jpg
inputcheckbox.jpg (24.56 KiB) Viewed 520 times
But that will run off the screen really quickly.

Or you could write a dialog:
statedialog.jpg
statedialog.jpg (97.57 KiB) Viewed 520 times
by metatheurgist
Thu Nov 08, 2018 11:37 pm
Forum: Macros
Topic: exposeFOW Macro
Replies: 7
Views: 467

Re: exposeFOW Macro

Doesn't the server option to auto reveal FoW on movement work?
by metatheurgist
Sat Oct 13, 2018 1:18 am
Forum: MapTool
Topic: Table images showing as red X
Replies: 3
Views: 368

Re: Table images showing as red X

One of our group had an issue with space in the filename causing the red x recently. Try removing those and any weird characters.
by metatheurgist
Sun Aug 19, 2018 6:22 am
Forum: MapTool
Topic: Light sources to bend around corners
Replies: 9
Views: 478

Re: Light sources to bend around corners

On the subject I'd love to see MT's light functionality expanded to be a bit more flexible so we can try to implement more types of vision and light.
by metatheurgist
Wed Jul 11, 2018 12:04 am
Forum: MapTool
Topic: Is it ok to have the same name for different tokens ?
Replies: 22
Views: 759

Re: Is it ok to have the same name for different tokens ?

Yep. I got bored with numbers and it can also sometimes give away the strength of the encounter. Now I try to think of schemes. NATO phonetics, types of cheese, Aussie 80s Rock bands, cuts of meat (for thugs).
by metatheurgist
Sat Jul 07, 2018 9:08 pm
Forum: Macros
Topic: Any way to stop a macro execution somewhere in the middle ?
Replies: 9
Views: 1064

Re: Any way to stop a macro execution somewhere in the middle ?

Your options are abort() and assert() but there's no true break in MT afaik.
by metatheurgist
Fri Apr 27, 2018 8:40 pm
Forum: General Discussion
Topic: Using remote control software to use maptool on tablets
Replies: 10
Views: 919

Re: Using remote control software to use maptool on tablets

, but I'm not at all sure how you simulate the right mouse button to move around the map with a touch interface. Maybe there is a way, but I'm not aware of it (and it's probably not very convenient). I should experiment on a tablet, I guess. It definitely works but I can't recall the mechanism. I h...
by metatheurgist
Tue Feb 27, 2018 6:16 am
Forum: User Creations
Topic: Starfinder macros
Replies: 5
Views: 2244

Starfinder macros

Made some macros for the Starfinder game I'll be running later this year. They have not been field tested. Maybe someone might find them useful and beta test them for me. :wink:

starfinder.cmpgn
(3.61 MiB) Downloaded 147 times
by metatheurgist
Tue Jan 23, 2018 7:34 pm
Forum: Macros
Topic: Moving a Token to a random coordinate
Replies: 20
Views: 1065

Re: Moving a Token to a random coordinate

I think faced with that I'd just measure up the surface areas and convert it to percentages. :wink:
by metatheurgist
Sat Dec 23, 2017 9:44 am
Forum: MapTool
Topic: Finding Maptool games?
Replies: 37
Views: 1816

Re: Finding Maptool games?

Ouch! I always had a bad vibe about Mote and even without the details above, fear of it turning out that way was why I never gave it time of day. The whole situation of monetizing a great free tool just never felt right to me. Personally I hope you never let that happen again. Speaking of monetizing...
by metatheurgist
Tue Nov 21, 2017 6:42 pm
Forum: Macros
Topic: Why does this always return false?
Replies: 12
Views: 510

Re: Why does this always return false?

It's a quirk of the If() function that it evaluates both parts of the statement. That's why it's not recommended for use if you're doing something like setting the same variable with either condition, unless that variable is being set by the value returned from the expression. This is explained in t...

Go to advanced search