Summoning a Spiritual Weapon: A Roll20 API Script Tutorial

This video shows how to create an API script that summons a spiritual weapon token onto the battlefield, gives it an aura, assigns it to be under a particular player’s control, and gives off a burst of holy light.

If you’d rather just run the script, you can find the code here. Note that you do need to change the imgsrc line to the URL of an image you have in your library. The video talks a bit about this image starting at 00:00:42.

The documentation about the API objects can be found here:

Post Author: hatefull