Search found 197 matches

by knizia.fan
Sun Aug 23, 2009 3:34 am
Forum: Bug Reports
Topic: [1.3.b49] Multiple [if(): ] options.
Replies: 1
Views: 363

Re: [1.3.b49] Multiple [if(): ] options.

Note that all mutually exclusive roll options are handled this way (last one wins). For example, you can type [r,e,r: 1d20] and the result is as if you'd just used a single r option. So if an error is desired, each set of mutually exclusive choices should probably get an error when more than one is ...
by knizia.fan
Sun Aug 23, 2009 3:28 am
Forum: Bug Reports
Topic: [1.3.b49] [if(...), code: { something } ] prints a "
Replies: 2
Views: 379

Re: [1.3.b49] [if(...), code: { something } ] prints a "

FYI, I believe the fix is to remove the single quotes from line 1045 of MapToolLineParser.java, if someone is going to be touching this file. if (rollBranch == null) rollBranch = "''"; // quick-and-dirty way to get no output But I haven't tested this to be sure no other problems occur.
by knizia.fan
Sun Aug 23, 2009 3:23 am
Forum: Bug Reports
Topic: [1.3.b49] String properties returning inconsistant types
Replies: 4
Views: 489

Re: [1.3.b49] String properties returning inconsistant types

I'm curious about where this problem is seen. The following:

Code: Select all

[h:list="a,3,4"]
[h:props="a=3;b=4"]

[r:listGet(list,2) + 3]

[r:getStrProp(props,"b") + 3]
[r:indexValueStrProp(props,1) + 3]
prints 7 7 7, as expected.
by knizia.fan
Sun Aug 23, 2009 2:50 am
Forum: Bug Reports
Topic: [1.3.b48] Keyboard focus traversal doesn't work
Replies: 1
Views: 309

Re: [1.3.b48] Keyboard focus traversal doesn't work

This is even worse than you describe. After clicking in any of the edit boxes, if you hit Tab and then use the up/down arrows, the Offset Y value is changed even though there is no spinner for that field. Also, the up arrow will change the value from 0 to -1, but the down arrow changes it from 0 to ...
by knizia.fan
Mon Aug 17, 2009 6:08 pm
Forum: MapTool
Topic: Input window appearance
Replies: 13
Views: 942

Re: Input window appearance

1) Is there a way to move an input list under the prompt text like this: http://forums.rptools.net/download/file.php?id=39 Use the SPAN=TRUE option to suppress the control's prompt text (see the input() documentation ): [h: input( "dummyVariable|Spend or Gain an Action Point on this token:||LA...
by knizia.fan
Wed Nov 19, 2008 10:36 pm
Forum: Announcements
Topic: MapTool 1.3 Development Build 47
Replies: 133
Views: 16841

Can Craig (or someone) please elaborate on the usage of the [MACRO("macro_name@location"): macro_arguments] with a lib:token_name example? I'm totally lost! My real goal is to be able to use this (somehow, if possible) to allow access to token props for players to target monsters (AC, spe...
by knizia.fan
Wed Nov 19, 2008 10:33 pm
Forum: Documentation Requests/Discussion
Topic: input() and other new b42 macro functions
Replies: 190
Views: 85444

I have updated the first 4 posts in this thread for the changes in b46. * Be aware of the incompatible change to varsFromStrProp(), which now has a mandatory second argument. Sorry that this breaks your macros. When I submitted the change it had been a short time after the initial release of the fea...
by knizia.fan
Sun Oct 19, 2008 12:56 pm
Forum: User Creations
Topic: Champion Macros
Replies: 319
Views: 16608

That would be cool for more then one reason, but no you can't. I have tried putting the /tmacro command in the macros and it doesn't work unless it is the only thing. That is a real bummer. I think once they get the Jscript support working we will finally have what we need as Hero gamers. Trevor ha...
by knizia.fan
Fri Oct 17, 2008 8:16 pm
Forum: General Discussion
Topic: Folding@Home
Replies: 4
Views: 538

Some researchers have created a protein folding videogame at http://fold.it, if you'd rather try some hands-on biochemistry instead of letting your screensaver have all the fun.
by knizia.fan
Wed Oct 15, 2008 6:44 pm
Forum: MapTool
Topic: Macro function to reset all states from a token ?
Replies: 2
Views: 464

[H: setAllStates(0)]

(If you do [H: setAllStates(1)], your token will light up like a Christmas tree :) )
by knizia.fan
Wed Oct 15, 2008 6:41 pm
Forum: DiceTool
Topic: Random Number Picker – Formula Dé
Replies: 9
Views: 9432

Everything seems to be working great. Next question. Is there a way to Hide the list and the chosen list number and just spit out the result? For the D30 it will show all 30 numbers on the list, then which list number it chose then finally the die roll related to the list number. Like I said, it's ...
by knizia.fan
Wed Oct 15, 2008 6:16 am
Forum: D&D 4e Frameworks
Topic: Fully Managed 4e Token
Replies: 595
Views: 93472

Could you include the Stat in parenthesis next to each Skill? Like: Acrobatics (Dex) Arcana (Int) Athletics (Str ) If you are using a pre-made monster block, the skills are presented there before the Attributes. Like Acrobatics (+12), Arcana (+4) Dex 14 (+2) Intelligence 14 (+2) And then you have t...
by knizia.fan
Tue Oct 14, 2008 3:58 am
Forum: Developer Notes
Topic: MT 1.3b46 progress
Replies: 97
Views: 12842

This seems to be a more universal problem with MapTool, as the simple statement [H:x="BonusDegat | hi | Bonus de dégat | TEXT"] gives the same error message (on my US English Windows Vista computer). It's not related to the input() function. Yep, you are right. I did a few more tests and ...
by knizia.fan
Mon Oct 13, 2008 7:49 pm
Forum: Developer Notes
Topic: MT 1.3b46 progress
Replies: 97
Views: 12842

Don't know where to post that but is there any chance that the input() fonction in macros will handle foreign language accents (or at least HTML codes for accents) ? Because this won't work (the macro won't start and there's an error message in the chat log : Could not execute the command: line 1:3...
by knizia.fan
Thu Oct 09, 2008 2:05 am
Forum: MapTool
Topic: nested if statements... help?
Replies: 4
Views: 555

[h: RacialBonus = 0] [h: Skill = "Listen"] [h: RacialBonus = if( (Skill == "Listen" || Skill == "Spot" || Skill == "Search"), if(Race=="Half-elf",1,if(Race=="Elf",2,RacialBonus),RacialBonus), RacialBonus) ] Ok, I'm a little further now... ...

Go to advanced search