TobyFox2002
Well-known member
I was wondering if there was any thread out there that talked about creating custom Hero Labs Output. I've tried searching and nothing really comes out that seems particularly helpful to me.
What I'm looking to do is create something that would allow me output something like:
!setattr {{
--sel
--replace
--repeating_weapon_-CREATE_enhancement|0
--repeating_weapon_-CREATE_masterwork|0
--repeating_weapon_-CREATE_name|Short Sword
--repeating_weapon_-CREATE_attack|
--repeating_weapon_-CREATE_attack-type|`{attk~melee}
--repeating_weapon_-CREATE_vs|ac
--repeating_weapon_-CREATE_crit_target|20
--repeating_weapon_-CREATE_crit-multiplier|2
--repeating_weapon_-CREATE_crit_confirm|0
--repeating_weapon_-CREATE_damage-dice-num|1
--repeating_weapon_-CREATE_damage-die|6
--repeating_weapon_-CREATE_damage|
--repeating_weapon_-CREATE_dmage_ability_mult|1
--repeating_weapon_-CREATE_damage-ability|`{STR~mod}
--repeating_weapon_-CREATE_damage-ability-max|
--repeating_weapon_-CREATE_type|PS
--repeating_weapon_-CREATE_range|0
--repeating_weapon_-CREATE_ammo|0
--repeating_weapon_-CREATE_proficiency|0
}}
Well, at least thats the basic format, I want and specifically for spells. This format would allow me to directly export it into r20's repeating sections for spells (well the above example is for weapons) or whatever repeating section would be appropriate. Which ultimately, would save hours of work when entering in new NPCs to my roll20 game.
I'm assuming something like this is possible, but not exactly sure how I'd get it to work.
P.S., I am not the creator of this script on r20. That would be Jakob and the specific script is ChatSetAttr. For most of you, prolly doesnt matter but in case it does. I also, have done no real planning so I dont know the exact code I'd need to use in my game, I wanted first learn how to do it, before I do specifics.
What I'm looking to do is create something that would allow me output something like:
!setattr {{
--sel
--replace
--repeating_weapon_-CREATE_enhancement|0
--repeating_weapon_-CREATE_masterwork|0
--repeating_weapon_-CREATE_name|Short Sword
--repeating_weapon_-CREATE_attack|
--repeating_weapon_-CREATE_attack-type|`{attk~melee}
--repeating_weapon_-CREATE_vs|ac
--repeating_weapon_-CREATE_crit_target|20
--repeating_weapon_-CREATE_crit-multiplier|2
--repeating_weapon_-CREATE_crit_confirm|0
--repeating_weapon_-CREATE_damage-dice-num|1
--repeating_weapon_-CREATE_damage-die|6
--repeating_weapon_-CREATE_damage|
--repeating_weapon_-CREATE_dmage_ability_mult|1
--repeating_weapon_-CREATE_damage-ability|`{STR~mod}
--repeating_weapon_-CREATE_damage-ability-max|
--repeating_weapon_-CREATE_type|PS
--repeating_weapon_-CREATE_range|0
--repeating_weapon_-CREATE_ammo|0
--repeating_weapon_-CREATE_proficiency|0
}}
Well, at least thats the basic format, I want and specifically for spells. This format would allow me to directly export it into r20's repeating sections for spells (well the above example is for weapons) or whatever repeating section would be appropriate. Which ultimately, would save hours of work when entering in new NPCs to my roll20 game.
I'm assuming something like this is possible, but not exactly sure how I'd get it to work.
P.S., I am not the creator of this script on r20. That would be Jakob and the specific script is ChatSetAttr. For most of you, prolly doesnt matter but in case it does. I also, have done no real planning so I dont know the exact code I'd need to use in my game, I wanted first learn how to do it, before I do specifics.