Displaying Loading Screen Type Messages: A Roll20 API Scripting Tutorial
Автор: Nick Olivo
Загружено: 2020-03-26
Просмотров: 10862
This video shows how to build a script that'll let you add informational messages about your game world and your system's game mechanics to a screen in Roll20. Note that you do need a Pro subscription in order to do this.
Just want the code? Download it here - https://gist.github.com/nolivo/23f2fd... (You'll still need to do the prerequisite steps shown in the first few minutes of the video)
You can add line breaks in your text by changing this line
var tabletext = tableItem.get("name")
to this
var tabletext = tableItem.get("name").split(/[.!?\\-]/g).join("\r\n");
Then the script will split the text on periods, question marks or dashes.
Roll20 Text Object Documentation - https://roll20.zendesk.com/hc/en-us/a...
Also, the image shown in the video is from Richard Wright. Check out his amazing portfolio at www.richard-wright.com
My Patreon: / nickolivo
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: