Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

So..pcpp?

Aaron, is this dead or do you plan on having a version forthcoming to support PC3?  Will it work out-of-the-box now with PC3?  Also, how's CharMod coming?  Are we there yet?  Are we there yet?  :-P I'm still trying to figure out a way to get healing and damage to automagically increment/decrement HPs and either of the above (I think?) would allow that to happen.  Considering that damage is most often situational I suppose pcpp would be best there, correct?  Would TokenMod satisfy the healing? Thanks!!
1448329960
The Aaron
Pro
API Scripter
PCPP should work fine with the current Powercards version. If not, let me know. I'm *this* close to getting CharMod done. :)
Oooo...I'm off to work some possible magic (read as: get into trouble and get frustrated).  I'm having a blast building macros and PowerCards.  Thanks for the info!
Craig, PowerCards design now supports any scripts pre-processing information and then being sent a formatted message like a powercard.  You just have to use something like below. You can make your javascript do whatever you need it to do and then plug that data into a variable with a powercard like message in it and powercards will read that. var MyScriptMsg = "!power --name|Blah --Tag 1|Content 1 etc."; PowerCard.Process(YourMsgObject);
1448369757
The Aaron
Pro
API Scripter
That's basically what PCPP has always done, except it provides API side expansion of attributes and formulas, which means the values in those attributes will reflect any API commands that have already run in the current macro/chat message.  That was it's original intent, I believe. 
Craig, PowerCards design now supports any scripts pre-processing information and then being sent a formatted message like a powercard. You just have to use something like below. You can make your javascript do whatever you need it to do and then plug that data into a variable with a powercard like message in it and powercards will read that. var MyScriptMsg = "!power --name|Blah --Tag 1|Content 1 etc."; PowerCard.Process(YourMsgObject); Really?  That is awesome to hear. Time to stop being lazy and write my own script I guess. ;-)  Obviously, API scripts differ, but are most of them exposed like this?  Meaning, could I call other API scripts from within my own before feeding the results to PowerCards?  I'm thinking mostly on possibly calling TokenMod (or CharMod in near future ;-)) and/or !ammo to do some attribute manipulation as well. As always, I appreciate all the work and help you guys give.  It makes learning this system fun and makes my game that much more amazing for my players.
You could just write the attribute manipulation into your script and feed just the results to PowerCards.
1448378237
The Aaron
Pro
API Scripter
It depends on the script.  Mostly, mine don't expose an external interface, but doing so is not too difficult.  I have plans to do that at some point, along with many other great things, but time is always pressing. =D
OK, thanks guys.  I'm going to take your suggestion, HB.  I think I'm going to attempt to write fairly simple combat and spell API scripts to spit out the results of those to PowerCards.  I can pretty much derive all the information I need from passing in character and target IDs, correct?  Sorry, I'm full of questions.  
1448390687
The Aaron
Pro
API Scripter
Any information about those objects that you want to access will be available on those objects.  You'll likely still need some parameters for intent (action type like heal or attack, quantities like dice, etc).
Craig L. said: OK, thanks guys.  I'm going to take your suggestion, HB.  I think I'm going to attempt to write fairly simple combat and spell API scripts to spit out the results of those to PowerCards.  I can pretty much derive all the information I need from passing in character and target IDs, correct?  Sorry, I'm full of questions.   I'll post an example of a pre-powercard script in the morning. Gotta leave for work right about... now.
I'll post an example of a pre-powercard script in the morning. Gotta leave for work right about... now. Thanks, HB!  That would be really helpful.
Never mind, after a few hours of struggling I came across this post .  I got it working!!  Thanks to your past self, HB!
Cool. That's the one I was going to link. :)