Search found 13 matches

by ZenCorrosion
Sun Apr 05, 2020 4:57 pm
Forum: DiceTool
Topic: Open sourcing DiceTool?
Replies: 3
Views: 824

Re: Open sourcing DiceTool?

Ah, cool, thank you!
by ZenCorrosion
Fri Apr 03, 2020 11:57 pm
Forum: DiceTool
Topic: Open sourcing DiceTool?
Replies: 3
Views: 824

Open sourcing DiceTool?

I know that not many people use it, and it is not really supported, but I find DiceTool useful and fun in certain circumstances. I think it's great that MapTool is on GitHub now and was wondering if the source for DiceTool could also be opened up?
by ZenCorrosion
Wed Jul 26, 2017 3:19 pm
Forum: Macros
Topic: How can I change the order of tokens with the same init val?
Replies: 7
Views: 634

Re: How can I change the order of tokens with the same init

Cool idea on trimming the init value to get rid of the decimal. Thanks for sharing!
by ZenCorrosion
Tue Jun 27, 2017 3:43 pm
Forum: Macros
Topic: How can I change the order of tokens with the same init val?
Replies: 7
Views: 634

Re: How can I change the order of tokens with the same init

Hmm, that's kind of funny, but I guess it would work. Thanks!
by ZenCorrosion
Tue Jun 27, 2017 12:19 pm
Forum: Macros
Topic: How can I change the order of tokens with the same init val?
Replies: 7
Views: 634

How can I change the order of tokens with the same init val?

I'm working on a custom framework and I want the PC tokens to always go before the NPCs, even when they have the same initiative value. It looks like this is kind of possible in the sense that if two tokens (A & B) have the same initiative value, the first one added to initiative will go first. ...
by ZenCorrosion
Tue Jun 13, 2017 10:49 am
Forum: MapTool 1.4
Topic: NullPointerException when using removeFromInitiative()
Replies: 8
Views: 702

Re: NullPointerException when using removeFromInitiative()

It does feel like a timing issue. If I put the removeFromInitiative() call into the calling macro instead of the KO macro, the problem is much reduced, although I do still see the issue occasionally. I put an input dialog before the removeFromInitiative() call inside the macro as suggested and that ...
by ZenCorrosion
Fri Jun 09, 2017 4:32 pm
Forum: MapTool 1.4
Topic: NullPointerException when using removeFromInitiative()
Replies: 8
Views: 702

Re: NullPointerException when using removeFromInitiative()

@wolph42, I'm guessing you're asking if some_token_name is an array? I believe it is a string that has the name of a token. It's value is selected by a user through a list in an input dialog: "target| " + json.toList( targets ) + "| My target is: | LIST | VALUE=STRING", targets c...
by ZenCorrosion
Fri Jun 09, 2017 4:27 pm
Forum: MapTool 1.4
Topic: NullPointerException when using removeFromInitiative()
Replies: 8
Views: 702

Re: NullPointerException when using removeFromInitiative()

OK, I tried replacing the token roll option with switchToken(), but I can still get the same error. [h:switchToken( targetToken )] [h: setState( "Sitting Duck", 0 )] [h: setState( "Incapacitated1", 0 )] [h: setState( "Incapacitated2", 0 )] [h: setState( "KO", ...
by ZenCorrosion
Thu Jun 08, 2017 3:28 pm
Forum: MapTool 1.4
Topic: NullPointerException when using removeFromInitiative()
Replies: 8
Views: 702

Re: NullPointerException when using removeFromInitiative()

OK, so to be a little more specific, in the campaign macro I call the KO macro on the library token with the target token name as the parameter: [h: target = some_token_name] ... [macro( "[email protected]:ZC-FengShui2" ): target ] ---- Inside the KO macro I have: [h: targetToken = macro.args] [token...
by ZenCorrosion
Thu Jun 08, 2017 12:07 pm
Forum: MapTool 1.4
Topic: NullPointerException when using removeFromInitiative()
Replies: 8
Views: 702

NullPointerException when using removeFromInitiative()

Hi all! I'm working on a Feng Shui 2 framework that takes a different view of initiative. Each time your character acts, your initiative decreases. My attack macro decreases the attacker's initiative, then if they KO the target it removes the target from the initiative list. Finally, at the end it s...
by ZenCorrosion
Mon Apr 13, 2015 12:18 pm
Forum: General Discussion
Topic: Thanks to RPTools!
Replies: 7
Views: 1486

Re: Thanks to RPTools!

Another thanks from a long time follower. I am currently working on a framework compatible with the apocalypse world engine for my group, and the power and flexibility of MapTool is impressive. I hope version 1.4 successfully comes to fruition!
by ZenCorrosion
Thu Mar 05, 2015 6:01 pm
Forum: DiceTool
Topic: How to add Roll-and-Keep, ORE, Fate functions to Dicetool
Replies: 1
Views: 1805

Re: How to add Roll-and-Keep, ORE, Fate functions to Dicetoo

Using the new functions: Three new functions have been added: Roll-and-Keep (with explode on highest value), One-Roll-Engine, and Fate. Roll-and-Keep with Explode: Legend of the Five Rings uses this type of roll. You roll a number of dice (all with the same number of sides), and keep a smaller numb...
by ZenCorrosion
Thu Mar 05, 2015 4:44 pm
Forum: DiceTool
Topic: How to add Roll-and-Keep, ORE, Fate functions to Dicetool
Replies: 1
Views: 1805

How to add Roll-and-Keep, ORE, Fate functions to Dicetool

Okay, from what I read here http://forums.rptools.net/viewtopic.php?f=5&t=22487 , no changes will be made to the existing Dicetool code until after the new version of MapTools is released. So, is there any way to add new functions in the meantime? Well, it turns out that there is. Note that the ...

Go to advanced search