I wrote a couple of functions that I call oneClick that I use just for that reason. Basically, the token that creates the link creates a unique number. When the player clicks it with the token selected then it writes that unique number to that token and only allows it to click it once.Nertht wrote:Cause in that case, players can click it repeately and make a lot of mess. I thought, that direct running is possible with broadcast execLink.
Redrawing a player's frame
Moderators: dorpond, trevor, Azhrei
Re: Redrawing a player's frame
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Redrawing a player's frame
Thank you both guys, your service is incredible.
What I exactly need is Wolph´s function. Thx a lot man, again.
Just... Look on Wiki: broadcast(). There is your function described as bot_execAllPlayer. And for another users, it could be confusing like for me was.
But great thanks anyway.
What I exactly need is Wolph´s function. Thx a lot man, again.
Just... Look on Wiki: broadcast(). There is your function described as bot_execAllPlayer. And for another users, it could be confusing like for me was.
But great thanks anyway.
Re: Redrawing a player's frame
indeed, although its both, its mentioned as 'players' and 'player', a simple typo. Corrected it.Nertht wrote:Thank you both guys, your service is incredible.
What I exactly need is Wolph´s function. Thx a lot man, again.
Just... Look on Wiki: broadcast(). There is your function described as bot_execAllPlayer. And for another users, it could be confusing like for me was.
But great thanks anyway.
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: Redrawing a player's frame
I don't understand why it is not working. The output of broadcast is the execLink, no?aliasmask wrote: ↑Wed Aug 20, 2014 8:00 amThis wouldn't work because there is no output. If you create your link with macroLink you can then post it with broadcast and not use execLink. A link will show up in chat and execute on the other client, but the client who posted the link. You would have to click it yourself or use my code in an earlier post.Nertht wrote:Code: Select all
[h: broadcast(execLink(macroLinkText("FRAME@Lib:Token", "none", "", "Player2Token")),"Player2")]
MT Framework: Call of Cthulhu 7th fork, D&D 5e Spell Library
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
Re: Redrawing a player's frame
Depends on what you mean by not working. The players don't see the output link or the link when clicked doesn't work.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools