Search found 43 matches

by qcgreywolf
Wed Oct 08, 2014 6:51 pm
Forum: Macros
Topic: Input() Function
Replies: 2
Views: 291

Input() Function

Ladies and gentlemen, [h:status=input( "FireProtection|0|Amount of Fire Protection", "AcidProtection|0|Amount of Acid Protection", "ColdProtection|0|Amount of Cold Protection", "ElectricityProtection|0|Amount of Electricity Protection", "changeR|0|Cha...
by qcgreywolf
Sun Feb 23, 2014 11:11 pm
Forum: Macros
Topic: Preserving rolling data (tool tips, etc.)
Replies: 13
Views: 695

Re: Preserving rolling data (tool tips, etc.)

After 2 complete revision of my code, I have settled on a very well behaved set of macros. Here are the code blocks, separated out for the different Macros. Feel free to cannabilize anything you see here. At the bottom is also a link to my campaign file, that has all the campaign macros ready to go....
by qcgreywolf
Thu Feb 13, 2014 10:51 pm
Forum: Macros
Topic: Preserving rolling data (tool tips, etc.)
Replies: 13
Views: 695

Re: Preserving rolling data (tool tips, etc.)

Thanks a lot for the responses. I have a couple of hours tonight to fiddle with the code and I'll see what I can do. I think after some in depth wiki reading and a little creative thinking, I can salvage most of my code. There are some really good ideas posted just above.
by qcgreywolf
Thu Feb 13, 2014 12:05 pm
Forum: Macros
Topic: Preserving rolling data (tool tips, etc.)
Replies: 13
Views: 695

Re: Preserving rolling data (tool tips, etc.)

Aliasmask, Could you post / link a brief example of this in action? I am trying to figure out how to branch my code, one branch for critical hits and the other for a regular hit. The problem I can't get past is I have to 'roll' the to hit roll in order to know whether to branch to the crit hit or re...
by qcgreywolf
Thu Feb 13, 2014 11:30 am
Forum: Macros
Topic: Preserving rolling data (tool tips, etc.)
Replies: 13
Views: 695

Re: Preserving rolling data (tool tips, etc.)

So, I am sitting in an airport this morning, mulling over a way to accomplish my goal of having the rolling tool tip data visible. I am guessing that there is no way of 'saving' the rolling data, only displaying it as it happens. If that is the case, I must do my rolls in a way that they display as ...
by qcgreywolf
Wed Feb 12, 2014 9:40 pm
Forum: Macros
Topic: Preserving rolling data (tool tips, etc.)
Replies: 13
Views: 695

Re: Preserving rolling data (tool tips, etc.)

Against my better judgment, I will expose my shoddy code to the world, maybe that will help. The Campaign Macro [h: toHitArray = ""] [h: '<-- Calling Lib to gather attack rolls and damages, string list return -->'] [h: '<-- Format: AttackRoll, Damage -->'] [h, MACRO(&qu...
by qcgreywolf
Wed Feb 12, 2014 9:28 pm
Forum: Macros
Topic: Preserving rolling data (tool tips, etc.)
Replies: 13
Views: 695

Re: Preserving rolling data (tool tips, etc.)

This may help to describe my current situation. I have 5 macros on a Lib:Token, called in this order from a campaign macro; - gatherDice (which gathers the data from a PC / NPC token and performs the rolls/calculations, etc) - criticalDice (which takes the above data and performs all the critical ca...
by qcgreywolf
Wed Feb 12, 2014 9:00 pm
Forum: Macros
Topic: Preserving rolling data (tool tips, etc.)
Replies: 13
Views: 695

Preserving rolling data (tool tips, etc.)

Now that I have created my first baby framework for my players, and they love it, I want to learn some new tricks. The one that has me most flummoxed is how to preserve what I call 'roll data', but is probably called something else. My output to chat looks pretty sexy for a newbie coder, but the mou...
by qcgreywolf
Wed Feb 12, 2014 7:52 pm
Forum: Macros
Topic: Code Review
Replies: 0
Views: 293

Code Review

So, I have finally gotten my campaign macro set to a nearly polished state, and would like to know if anyone is interested in reviewing it for me. The main reason I am posting here is because I would like at least one human out there whom is good with coding take a look at it and give me some pointe...
by qcgreywolf
Wed Feb 12, 2014 2:09 pm
Forum: Macros
Topic: Need a fresh eye
Replies: 6
Views: 429

Re: Need a fresh eye

No worries! Just knowing that there are people still willing to take a quick look at the forums makes me happy.
I've come quite a ways in the last few months of messing with the innards of Maptools, and I am starting to get to the tough stuff now.

(Darn you JSON, DARN YOU!)
by qcgreywolf
Wed Feb 12, 2014 1:55 pm
Forum: Macros
Topic: Need a fresh eye
Replies: 6
Views: 429

Re: Need a fresh eye

I found it about 5 minutes after posting this, sorry guys! I was missing a ")" in the [h: critPass = listAppend(critPass, listGet(CriticalType1, 1)] Coding for hours on end blinds me to the stupid mistakes sometimes, sorry for the false alarm! I am recoding my groups attack macro to call o...
by qcgreywolf
Wed Feb 12, 2014 1:30 pm
Forum: Macros
Topic: Need a fresh eye
Replies: 6
Views: 429

Need a fresh eye

For the life of me I cannot see a problem with this, so I need a quick second look at the code. If it looks perfectly good to you guys too, that means I got SOMETHING somewhere else in my code going funky. Calling function code snippet: <!-- Where criticalHit1 can be 0, 1 or 20 --> <!-- Where Damage...
by qcgreywolf
Sun Jan 12, 2014 4:12 pm
Forum: D&D 3.5/Pathfinder 1e Campaign Macros
Topic: MT1.3b87.06 Pathfinder + D&D3.5 Framework
Replies: 181
Views: 27061

Re: MT1.3b87.06 Pathfinder + D&D3.5 Framework (NEW! Latest V

Condensed Question: We have weapons in our campaign that have multiple special damage types (ex. - +1d6 Fire and +1d6 Acid). For the purposes of damage reductions and vulnerabilities, these damages must be listed separately. I have tried a few different designators and seperators within the "Ex...

Go to advanced search