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

How do i add npc to initiative

I usually click an NPC and go to their sheet then click the initiative button. Is there a specific keyboard key i can click while selecting npc tokens to add them automatically?
1576203183
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Write a global token action (macro in the collections tab, and click the "Show as Token Action?" toggle). This code should give you the same result as clicking the Init butt on the sheet: @{selected|wtype}&{template:npc} @{selected|npc_name_flag} {{rname=^{init}}} {{mod=[[[[@{selected|initiative_bonus}]][DEX]]]}} {{r1=[[@{selected|d20}+[[@{selected|initiative_bonus}]][DEX] &{tracker}]]}} {{normal=1}} {{type=Initiative}} This will work for one token at a time. To do multiple types of differing tokens, requires the API... which I just realized you have access to. :D Use the GroupInit API. There are configuration instructions here  for most popular sheets.