Be cool and make CoreRPG version of these :)
Printable View
Be cool and make CoreRPG version of these :)
I leave the dead one's on the CT as well, until the players search them, and then I have PR6I6E6ST's loot extension make the loot parcel for me...it makes things so easy and now you've made it even easier for me to clean up afterwards!
If you crack it open, you will see in the combattracker_host.xml file that there is a function to determine "dead" or not.
basically it looks for a value "wounds" and checks if it is >= the value "hptotal". Any ruleset that uses those names should work. If there is some other names or other calculation, it could be easily added, it just needs to be defined for the ruleset. I could certainly make this work with other rulesets, but I dont really know how they all define "dead" :DCode:
if sFaction == "foe" and DB.getValue(creatureNode, "wounds", 0) >= DB.getValue(creatureNode, "hptotal", 0) then
DB.deleteNode(creatureNode);
end
v3 posted. I moved the button again, hopefully for the last time. It is now at the bottom next to the factions.
Added a bunch of new rulesets supported. Due to how each ruleset defines the positioning differently, the buttons may not line up perfectly at the bottom the way it does for 5e. If that bothers you, you can always extract it and tweak the values in the combattracker_host.xml file. The bottom offset number is how many pixels from the bottom of the window, so a negative number is higher in the window. and the left anchor offset is the number of pixels from the center.
https://imgur.com/AH76Q3h.jpg
v4 added, had to tweak positioning, it was blocking the faction buttons
Thanks for this ext.
Its Awesome!
I use CAE and my druid creates 8x Pixies and 8x Wolfs etc...
Can we please have a Clear/Remove dead Friendly addon via a Radial maybe ? Or an icon if you think there is space...
But the radial could be to select Clear/Remove 'All Dead' or 'All Faction Dead' or 'All Neutral Dead' etc as well as 'All Dead NPC's by default ???