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 .
×

[3.5e] /r macros in character attributes?

Hi all, Trying to set up "template" enemy NPCs, using the default 3.5e character sheets. I'd like to be able to set the default HP (or other attributes) of an enemy from SRDs, with the values calculated upon creation. For example, say I set the max HP as 1d8 - it'd be nice if that roll could be evaluated and assigned as the starting HP once I drag that journal entry to the page as a new token. Is this possible using non-API methods? I've tried several variations, but each time it either keeps the literal text I entered, or defaults to 18.  Thanks for the help!
1482455513
Diana P
Pro
Sheet Author
Sorry, but I do not know of any way to do that without using the API. I believe I've seen threads about API script(s?) which will do this, but I do not know of any way without using one.
1482481655

Edited 1482481697
Andrew C
Marketplace Creator
About the best non-API solution I can think of is to build a custom Macro in advance... for instance... NPC has a non-standard Attribute of 'npcHD' which holds the usual HD from the 3.5E OGL stuff (i.e. Hobgoblin has 1d8+2hp). You mark it 'In Bar' on the Macro page --- #NPC-Roller--- /w gm @{selected|token_name}'s Max HP: [[ @{selected|npcHD} ]] It would then dump as a whisper "Hobgoblin Dave's Max HP: [[7]]" Then it would dump a value for that which you could add to the MaxHP on the Token Window.  You might be able to 'bulk roll' it, but you'd have to manually add the MaxHP to the Token.