
I have no players for a few weeks and my OCD decided to let itself run wild. I'm on a quest to remove as many steps as possible from creating DND 5e OGL mooks.
So I can assign a token to a character using the DefaultToken script. I want to take the image used in that token and assign it to be the characters avatar.
My reading tells me that the avatar property of the character object should be API assignable. My partially informed analysis of the DefaultToken script hasn't given me an aparent way of extracting the image URL. The wiki says the _defaulttoken property is accessible and I can get a JSON that presumably contains the URL I'm looking for.
I wanted to ask before charging any windmills. Thanks in advance.
So I can assign a token to a character using the DefaultToken script. I want to take the image used in that token and assign it to be the characters avatar.
My reading tells me that the avatar property of the character object should be API assignable. My partially informed analysis of the DefaultToken script hasn't given me an aparent way of extracting the image URL. The wiki says the _defaulttoken property is accessible and I can get a JSON that presumably contains the URL I'm looking for.
I wanted to ask before charging any windmills. Thanks in advance.