Due to some computer troubles a while back, I had to reinstall my OS and wipe my hard drive. I backed a lot of stuff up first, obviously, but forgot that Global Macros aren't stored in the campaign files, and lost them.
I cannot remember how my Initiative macros were set up, however. I had three of them.
1. the "everyone rolls initiative" button.
-all selected tokens are added to initiative
-all selected tokens roll initiative, and have their initiative values set
-sort the initiative window.
2. the "next person's turn" button.
-remove the "Initiative" state (that I set up in campaign properties; It's a little yellow dot in the upper right corner of the token) from the token that currently has initiative
-go to the next token in the initiative list
-add the "initiative" state to the new token
3. the "combat's over, go heal and loot bodies now" button.
-removes the "initiative" state from current initiative token
-removes all tokens from initiative window.
I really liked this system. Just drag your mouse across the dungeon room and click a button to get all PCs and monsters to roll initiative at once. I didn't even have to OPEN the initiative window to know whose turn it was.
But I can't remember how I coded them. I think I got the idea somewhere else on the board, but I've been searching all day and can't find it again...
Can anyone help me out? I *think* I've got the first macro done, but without the other two, I can't really test it with certainty.
[h:addtoInitiative()]
[h:setInitiative(1d20+DEX)]
[h:sortInitiative()]
But the second is giving me trouble.
[h:getInitiativeToken()]
[h:setstate("Initiative",0)]
[h:nextInitiative()]
[h:getInitiativeToken()]
[h:setstate("Initiative",1)]
I imagine the third will be fairly easy, just "setstate Initiative 0" then "remove all from initiative" but got stuck on the second macro before I could try.
Can't remember my Initiative macros
Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice
-
- Cave Troll
- Posts: 29
- Joined: Thu Oct 09, 2014 6:39 pm
Jump to
- General
- ↳ Announcements
- ↳ Ideas for New Applications
- ↳ General Discussion
- ↳ Developer Notes
- ↳ Java Programming Info
- ↳ User Creations
- ↳ Requests for HELLLLP!
- ↳ Tilesets, Token Libraries, and Complete Maps
- ↳ Token Libraries
- ↳ Tilesets/Graphics for Map-making
- ↳ Complete Maps
- ↳ Campaign Frameworks
- ↳ D&D 5e Frameworks
- ↳ D&D 4e Frameworks
- ↳ D&D 3.5/Pathfinder 1e Campaign Macros
- ↳ D&D 3.5 & PF1e Framework
- ↳ Shadowrun 4e Frameworks
- ↳ Savage Worlds Frameworks
- ↳ Published Module Support
- ↳ Tutorials
- ↳ Graphics, Images, Tokens, Maps
- ↳ Drop-In Macros and Scripts
- ↳ Campaign Frameworks
- ↳ Drop-In Macro Resources
- ↳ Links & External Resources
- ↳ Looking For Group
- ↳ "Living" Campaigns
- ↳ Dungeons and Dragons
- ↳ Savage Worlds
- ↳ WoD
- ↳ Wargaming
- ↳ Documentation Requests/Discussion
- ↳ Session Report-Back
- Tools
- ↳ MapTool
- ↳ How To
- ↳ Macros
- ↳ Feature Requests
- ↳ Resolved
- ↳ Bug Reports
- ↳ Resolved
- ↳ WIP - User FAQ
- ↳ Testing
- ↳ MapTool 1.4
- ↳ TokenTool
- ↳ DiceTool
- ↳ InitiativeTool
- ↳ CharacterTool
- ↳ Support: d20 D&D
- ↳ Support: D&D 4e
- ↳ Support: Hero System
- ↳ Support: Savage Worlds
- ↳ Support: GURPS
- Other
- ↳ RPTools Sightings
- ↳ Running Campaigns
- ↳ Thiera's College of Adventurers
- ↳ Age of Might
- ↳ Scales of War
- ↳ Renwold
- ↳ Dead Men Walking
- ↳ Dark Sun - 4th Edition
- ↳ Warhammer Fantasy Roleplay
- ↳ Return of Uchly Namen
- ↳ Insert Campaign Here
- ↳ Antium
- ↳ The Mystic Moon
- ↳ World of Lagal
- ↳ GangerRun
- ↳ FB Scales of War
- ↳ Sellswords of Eberron
- ↳ Archive
- ↳ Orbs of Chaos
- ↳ World of Omegus
- ↳ Keep on the Shadowfell - 4E
- ↳ Rise of the Runelords
- ↳ Aurith In The Age Of Steam
- ↳ Widdershins
- ↳ Nos's Pathfinder Campaign
- ↳ Falcons Hollow
- ↳ Verwirrte Welten
- ↳ With it or on it
- ↳ Starter Set - Jeff