Search found 958 matches
- Sat Oct 22, 2011 6:48 am
- Forum: Macros
- Topic: Initiative
- Replies: 6
- Views: 798
Re: Initiative
Awesome. I'll work with your suggestions asap. Got to fetch someone from the bus station first though Many thanks CIF, you have saved me yet again
- Sat Oct 22, 2011 6:34 am
- Forum: Macros
- Topic: Initiative
- Replies: 6
- Views: 798
Re: Initiative
Thanks CIF. I did use those but instead of getSelected, I used getSelectedNames so I could query properties, format output easier to my game log etc. It does seem more logical to me though to work with the token itself so I'll probably rework my code to use getName or token.name or something of the ...
- Sat Oct 22, 2011 5:13 am
- Forum: Macros
- Topic: Initiative
- Replies: 6
- Views: 798
Initiative
Hi, I saw a lot of posts regarding Initiative but in my need to finish the initial framework for an upcoming campaign, I'd like to ask my question directly here instead of sifting through the huge amount of content. Here's my train of development: 1st try: I selected all tokens, iterated through the...
Modulus
Hello everyone, I was somewhat surprised that MT doesn't accept % as the modulus operator. I coded an elaborate dice roll function and injected a bonus section incorporating % so I didn't pick up on it right away since my tests never reached that far into the code. But when it did, I never even thou...
- Fri Oct 21, 2011 2:58 pm
- Forum: Macros
- Topic: Form TextArea
- Replies: 9
- Views: 919
Re: Form TextArea
Good god. I'm so sorry! I've been coding close to 20 hours straight. I've been reading some of his posts so I guess it just stuck to my head Really sorry, edited posts to cover my embarrassmentCoveredInFish wrote:I'm pretty sure Craig's tips are always valuable - but I'm not Craig.
- Fri Oct 21, 2011 2:35 pm
- Forum: Macros
- Topic: Form TextArea
- Replies: 9
- Views: 919
Re: Form TextArea
Thank you very much for the insight. Everything advised by CIF and you worked in the end. It was the html formatting that ejected my stuff lol. Would there be ways to apply some kind of formatting within the TextArea? And I'll probably need to use a special character for line breaks, right? Edit: As...
- Fri Oct 21, 2011 2:18 pm
- Forum: Macros
- Topic: Form TextArea
- Replies: 9
- Views: 919
Re: Form TextArea
Thanks CIF, yeah I tried those roll options too but I still get the same results )
- Fri Oct 21, 2011 1:23 pm
- Forum: Macros
- Topic: Form TextArea
- Replies: 9
- Views: 919
Form TextArea
Hi everyone, I'm sorry if it was asked before and I did try looking through the posts for an answer but I can't seem to find a topic that mentions how to programmatically set the default text value of a Textarea. I'm trying to make an information panel that streams feeds from different in-game event...
- Fri Oct 21, 2011 7:30 am
- Forum: Macros
- Topic: Humbly Submitted: Debugging Trick
- Replies: 17
- Views: 31978
Re: Humbly Submitted: Debugging Trick
hahaha. i should have thought about that in the first place. with all the great help people get in here, it makes for lazy thinking for people like me. ::smacks forehead:: thanks for the help
- Fri Oct 21, 2011 4:30 am
- Forum: Macros
- Topic: Humbly Submitted: Debugging Trick
- Replies: 17
- Views: 31978
Re: Humbly Submitted: Debugging Trick
Hi,
I was trying out zEAL's UDFs and it's highly possible that I did something wrong in setting it up but when "onCampaignLoad" runs, it throws 'unexpected char 0xA0' . I put the macros on a Lib: Token btw. Thanks!
I was trying out zEAL's UDFs and it's highly possible that I did something wrong in setting it up but when "onCampaignLoad" runs, it throws 'unexpected char 0xA0' . I put the macros on a Lib: Token btw. Thanks!
- Thu Oct 20, 2011 10:33 pm
- Forum: Macros
- Topic: X-ing out of an input window
- Replies: 10
- Views: 2461
Re: X-ing out of an input window
Thanks guys, appreciate the time you took to help me with this. While these do work great in handling Cancel status, my real problem is when a user just clicks on the 'X' to close the window and not use Esc or the Cancel button. The window simply does not return anything, throwing a nullpointerexcep...
- Thu Oct 20, 2011 5:33 am
- Forum: Macros
- Topic: X-ing out of an input window
- Replies: 10
- Views: 2461
Re: X-ing out of an input window
Thanks Wolph and Rumble for the information and insights. Unfortunately, it still throws the exception even though I've tried both of your suggestions. Also, I don't really want to abort the loop on Cancel as it will break the chain of dependencies that follow after :) I've been programming a framew...
- Wed Oct 19, 2011 2:31 am
- Forum: Macros
- Topic: X-ing out of an input window
- Replies: 10
- Views: 2461
X-ing out of an input window
Hi, everyone. First and foremost, I'd like to say that MapTool is awesome. I've been getting by learning how to use through the excellent resource material found here and in the tutorials. As the title of this post suggests, I've come across behavior that I couldn't find an answer to. When I use the...