Hi,
Is there a way of determining what macro is being run?
e.g. If I have a Macro on the Campaign Window called "Heal" that heals a character with an output like: "HP healed to 25"
and a player has an exact duplicate macro on his Global window.
Is there a way to know which one has been run?
Templar
What Macro is being run?
Moderators: dorpond, trevor, Azhrei
Re: What Macro is being run?
The simple way is: You can add an hidden line to the end of both macro's that will display a messages that only the game master can see?
more complex method is by creating a "Text Output" function and use that to display a message to the game master.
btw, there is a Macro help section under the Maptools Subforum: http://forums.rptools.net/viewforum.php?f=20
Code: Select all
<!-- Your entire macro -->
[G, R: "This is macro 1"]
btw, there is a Macro help section under the Maptools Subforum: http://forums.rptools.net/viewforum.php?f=20
My own 5th d&d character sheet framework (preview)
Re: What Macro is being run?
You use Wiki: getMacroLocation() to determine where a macro is being run from as well.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools