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

Adding a Blood Stain to the Map Layer when a token dies?

Firstly I don't really have any experience with Roll20 mods, so bear with me. I had an idea, inspired by&nbsp; <a href="https://marketplace.roll20.net/browse/set/16086/animated-blood-set" rel="nofollow">https://marketplace.roll20.net/browse/set/16086/animated-blood-set</a> &nbsp;, where a token would be marked as dead, then blood would pool or spurt from it. I've put together a few things I'd have to do, but don't know the first way how. I figure I'd have to use TokenMod or a similar script to modify the token, and something like SpawnDefaultToken to bring in the animation, using a rollable table to get some variety of blood spatters. I'd need to have the animation play just once and stop on the final frame, which I suspect is possible from a few threads I'd seen saying that animated tokens don't loop when spawned. I'd also want to use CorpseCart afterwards to put the body in the Map layer as well.&nbsp; My question, is such a script possible? How would I go about attempting it?
Blood and honor is what I use: <a href="https://app.roll20.net/forum/post/1477230/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/1477230/slug%7D</a> It takes a bit of setup, but works well.
I managed to get a passible macro working for kills, I couldn't find a good enough blood texture for Blood and Honour. The one I'm using is animated, so I still have to manually fire off the animation before sending it to the map layer, but it will suffice for now.&nbsp;