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

"Summoning Spiritual Weapon" by Nick Olivo --> assistance please.

&nbsp;&nbsp;&nbsp;&nbsp;So my problem is that as per this link "&nbsp; <a href="https://www.youtube.com/watch?v=S_D0QrIE1Zo" rel="nofollow">https://www.youtube.com/watch?v=S_D0QrIE1Zo</a> &nbsp;" which is a video detailing a VERY nifty and cool way to introduce spiritual weapons into the game, I have the command set for my API script as instructed and it summons just fine; however I don't know how to make this Chat function an ability for a token. I'm still pretty new to this and I have chatsetattr, and roll20OGL API installed in my game. I've got plenty of quick macros? set for my characters such as iniative rolls, attack rolls, and saving throws etc, but how would I go about introducing this command "!spiritualWeapon" as a token ability action for my players? I think it will really "WOW" them and help secure immersion and player agency. Any takers?
I believe it can be done two ways. One you go to the individual character sheet of the token you wish to give the action. Go to the attributes and abilities tab.&nbsp; Create new ability, call it whatever you want add your command to the context window, then click the box making it a token action.&nbsp; The other way is to go into your sidebar create the macro in your macro area but make it available to the players whom have the ability. Again check the token action box.&nbsp; Either way should work. Let me know if there is a problem and I will test it for ya.
Yeah I wish it were that simple. When something is set as a "Ability Action" through the character sheet it wont process the chat command as if it were posted in chat. I think that might be the easiest way for it to work. Some line of command as an "Ability Action" that tells that character to text in chat the command "!spiritWeapon" which the API script is looking for in order to run it's routine. So I'm trying to figure out what macro line I need to add to my token ability to tell it to Say in chat "!spiritWeapon".
So I use this in my DM Token or "Macro Mule" and it functions just fine. I created a total of 4 types. Here is the code that I use for my spiritual weapon macro. /w gm &amp;{template:npcaction}{{rname=Spiritual Weapon Menu}}{{name=Spiritual weapon options.}}{{description=Select a token then use the below options. **Spiritual Weapon Options** [- Summon a Spiritual Hammer](!spiritualWeaponHammer) [- Summon a Spiritual Mace](!spiritualWeaponMace) [- Summon a Spiritual Mist](!spiritualWeaponMist) [- Summon a Spiritual Sword](!spiritualWeaponSword)}} It is really simple to transfer this onto one of my players sheets too. You only need this macro. You can put it into their character sheet in the Abilities section make it a token action, remove the change the "/w gm ". Just be sure to adjust it to the API calls you need and it should work.