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] Header image for Attack

I can't seem to get the header image to work for attack. It works for all the other kinds of macros, but specifically attack just won't show an image. I've tried to set it to both Default and Custom. So a couple of examples of what I've tried are: {{header_image=[sword](<a href="http://i.imgur.com/AGq5VBG.png" rel="nofollow">http://i.imgur.com/AGq5VBG.png</a>)}} {{header_image=@{header_image-pf_attack-ranged}}} Any idea what I'm doing wrong? My initiative macro (which works fine) looks like this: {{header_image=@{header_image-pf_generic}}}
1459911944

Edited 1459912015
vÍnce
Pro
Sheet Author
Hi Lars, are you using the macro-text included with the attack on the sheet, or are you making a ability/token macro? &nbsp;If you are using the macro-text included with the sheet, you do not need to include {{header_image}}. It's actually included within @{macro_options}. &nbsp;@{macro_options} includes notes and header image choices as chosen from the attack's "Options" sub-section. &nbsp;It includes&nbsp;{{header_image=@{selected|header_image-pf_attack-melee}}} ,&nbsp;{{header_image=@{selected|header_image-pf_attack-ranged}}} or&nbsp;{{header_image=@{selected|header_image-pf_attack-CMB}}} depending on your selection. &nbsp;"selected" will actually be your character's name. If you are making your own ability/token macro, you should be able to manually insert&nbsp; {{header_image=@{selected|header_image-pf_attack-melee}}} , {{header_image=@{selected|header_image-pf_attack-ranged}}} or {{header_image=@{selected|header_image-pf_attack-CMB}}} depending on your selection. To sum it up. &nbsp;Use the Options sub-section to change the header image on the sheet's attack, otherwise you'll need to manually insert the header image property as noted above. Cheers
1459921460

Edited 1459922210
Ah, I hadn't seen that in Options. Now it works perfectly :) Thanks! edit: would it be an idea to set header image to melee in Options by default when you select attack type Melee? I mean, since you already select that you want to show header images in Config
1459924131
vÍnce
Pro
Sheet Author
Lars W. said: Ah, I hadn't seen that in Options. Now it works perfectly :) Thanks! edit: would it be an idea to set header image to melee in Options by default when you select attack type Melee? I mean, since you already select that you want to show header images in Config Although that works for me &nbsp;;-) There may be some that would only want the header image on some of their attacks, or maybe they want the melee image even for ranged, or... so it's still a per-attack setting set via the attack's Options.
Sure, but you could still set it to None in those cases. I just think it's a bit unintuitive when you've already set that header images should show for attacks, and then you have to set it on the individual weapons as well :)
1460016170
vÍnce
Pro
Sheet Author
I agree. &nbsp;This was more in issue from the past (pre sheet workers). &nbsp;I'll investigate using sheet workers to use the attack type as the basis for the attack header image.