Thanks. I figured the max lines were overkill, but it works and I have the game in an hour!
- Richard
Search found 7 matches
- Mon Sep 25, 2017 12:20 pm
- Forum: Macros
- Topic: Help with Macro getProperty and setProperty
- Replies: 10
- Views: 1460
- Mon Sep 25, 2017 11:04 am
- Forum: Macros
- Topic: Help with Macro getProperty and setProperty
- Replies: 10
- Views: 1460
Re: Help with Macro getProperty and setProperty
Got it. Thanks. These are the scripts I ended up with. The max line ensures the MP value doesn't drop below 0. <!-- Reduce Corbitt MP by 1 --> [h: CorbitMP=getLibProperty("MP", "Lib:corbitt")] [h: CorbitMP=min(18,CorbitMP-1)] [h: CorbitMP=max(0,CorbitMP)] [h: setLibProperty("...
- Fri Sep 22, 2017 2:46 pm
- Forum: Macros
- Topic: Help with Macro getProperty and setProperty
- Replies: 10
- Views: 1460
Re: Help with Macro getProperty and setProperty
Thanks for the more elegant version! That macro ended up being one of four I ended up making, all to do the job I intended one macro to do. I did consider whether using min would work in this case. But I couldn't work out what it did from the description page. [h:CorbitMP = min(18,CorbitMP +1)] To c...
- Thu Sep 21, 2017 6:51 pm
- Forum: Macros
- Topic: Help with Macro getProperty and setProperty
- Replies: 10
- Views: 1460
Re: Help with Macro getProperty and setProperty
Thanks for the advice. I've spent most of the evening trying to get these things to work. I've either made great progress or none at all. I decided to create a library token for the NPC, so there was a central MP stat for the macros to access. And the "Increase MP" macro seems to be workin...
- Wed Sep 20, 2017 9:51 pm
- Forum: Macros
- Topic: Help with Macro getProperty and setProperty
- Replies: 10
- Views: 1460
Help with Macro getProperty and setProperty
I need some help with these two macros. These are my first attempts at creating macros in MapTool. I made them for a 7th edition Call of Cthulhu adventure. They refer to an NPC token, corbitt, which has a custom MP (magic point) property of 18. But both macros report the MP property as being 1 highe...
- Sun May 21, 2017 1:22 pm
- Forum: MapTool
- Topic: Fixing "corrupt DMG" error under Mac OS 10.12.x (Sierra)
- Replies: 0
- Views: 1468
Fixing "corrupt DMG" error under Mac OS 10.12.x (Sierra)
Hello, I tried to install Maptool on my Mac, which runs Sierra (Mac OS 10.12.x), and got the "damaged and can't be opened" error message. The steps in the sticky post Corrupt DMG or Mac App wont install , no longer work under Sierra as the "Allow apps downloaded from… Anywhere" o...
- Sun May 21, 2017 12:13 pm
- Forum: Announcements
- Topic: Corrupt DMG or Mac App wont install.
- Replies: 7
- Views: 470611
Re: Corrupt DMG or Mac App wont install.
Hi, In Sierra (Mac OS 10.12.x) the 'open apps from anywhere' option was removed from the Security and Privacy… General tab. To restore it you need to run the following command in Terminal: sudo spctl --master-disable Once you do this, the 'damaged app' dialogue box will be replaced with the 'Are you...