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

Automatically Spawn in Tokens (Related to SpawnDefaultToken API)

Hello, I am looking for a tool that will allow me to automatically spawn in the player tokens or Minion tokens from the journal. SpawnDefaultToken API could do this but whenever I type in the command for it to spawn a token, nothing happens, and I am sure it is active considering any misspellings will activate the API letting me know the Charname cannot be found. Are their any fixes or alternatives to this problem?
longshot, but have you got grid turned off? I think it needs to be on to use the relative positioning of spawned tokens.
1718369149
timmaugh
Forum Champion
API Scripter
Can you share the command you are using, as well? And have you confirmed there aren't multiple characters with the same name in the game?
Norman said: longshot, but have you got grid turned off? I think it needs to be on to use the relative positioning of spawned tokens. I have the grid turned off. When I turned it on it started working. Thanks!
1719077782
David M.
Pro
API Scripter
Just wanted to make sure you are aware of some quirks in the Roll20/Spawn/default token interaction when spawning in PC tokens with linked bar values. Check out this post that gives some guidance on the subject, with an example of best practice using bar override values and the KeepLink keyword.