Hi,
I would like to write a handout for the DM on a text basis. So I thought of using the gmnotes for it. I can show this with a macro in a frame. that works really well. But: I would like to embed functions in the GmNotes ... is this possible? or is there a workaround?
Thank you!
Example:
DmNotes:
blow of destruction [ST + 4]
Macro:
[frame("Frame Test"): {
<html>
<head>
<title>[r:token.name]</title>
</head>
<body>
[r:getGMNotes()]
</body>
</html>
}]
Functions in the GmNotes?
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
Re: Functions in the GmNotes?
you might want to check out nildiks (irc) add on. This allows for 'info tokens' I've also build it into the bag of tricks (link in sig). There are other handout tools as well.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
Re: Functions in the GmNotes?
You may want to change the [ST+4] to either {ST+4} or even better [r: ST + 4] and then use Wiki: evalMacro().
It'll find everything in []'s and evaluated it and treat everything else as text. Just like normal code in a macro.
Code: Select all
[r: evalMacro(getGMNotes())]
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools