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

[PF] Companion API Script v1.X

First, thank you Scott, the community, and whoever else is responsible for this script.It will save me many hours and also make the game a lot smoother for me.


I am pretty new to using it, and had a few questions. Primarily I am having trouble when I import creature stat blocks. Their spell like abilities and spells never seem to show up. Am I not correctly formatting this section, or is this functionality not implemented?

Also, where is the best place to read the latest documentation? Are there any handy usage guides around?

Thank you,

April 13 (5 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

Usage Guide to:

Sheet

Roll Templates

Companion Script

I assume these are all Roll20 and not Community. I don't play PF, so it's a best guess.

April 13 (5 years ago)
vÍnce
Pro
Sheet Author

The companion script only works with the community sheet.  There's a link in the footer to the wiki sheet guide.

I am using the community sheet.


I am not formatting the stat block properly to catch the spell like abilities? Can anyone who uses the script chime in?


There is an example posted in the Companion Script user manual.  I had the same issues with formatting but seeing the example helped me get them pretty much squared away.  The example has a few different creatures all in one macro. I just pulled out the Pit Fiend since it had a good number of special abilities.

Example

thank you, i'll look through the examples. I've been testing more and seeing some stat blocks import with SLA and some don't. these examples should help out.

June 04 (5 years ago)

Edited June 04 (5 years ago)

How can I change the syntax on building a macro for whispering a spell tracking/reset for my PC's? I want them to be able to send the macro and have it reset their spells per day. With what's built in, here's what I have.

!pfc --resource,spell=Cheetah Sprint,current=0|-LMEchnM6VD9IPtZrdpc

This sends the message to either the public chat or just to the GM, depending on whether the PC roll configuration is set to public or GM, from "Spell Tracking." Is it possible to send this message either to the GM and the player using the command, or just the player using the command, instead of just the gm or public? If so, how do I configure that?

I attempted using the --whisper command but it doesn't seem to adjust the sheet fast enough to function right. Here's how I had that:

!pfc --whisper,pc=private --resource,spell=Cheetah Sprint,current=0|-LMEchnM6VD9IPtZrdpc --whisper,pc=public

or even

!pfc --whisper,pc=private
!pfc --resource,spell=Cheetah Sprint,current=0|-LMEchnM6VD9IPtZrdpc 
!pfc --whisper,pc=public

but no luck.


Thanks in advance for the assistance. 

June 17 (5 years ago)

Edited June 17 (5 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator

Hi Aaron, sorry for the delay in responding, I had apparently become unfollowed from the thread. Unfortunately, what you're asking for is not currently possible.