Picture Choices
This is a plugin that allows players to have the ability to select from
a collection of pictures.
這個(gè)插件可以讓玩家可以選擇圖片
Where to Store the Pictures
All of the image files need to be stored in:
所有的文件必須存在下面路徑
/img/SumRndmDde/choices/
How to Set up Picture Choices
Within one of the slots for a Choice in a “Show Choices” event, use:
你需要在選項(xiàng)中使用下面命令
\picture[image-name]
For example, if you had an image called “Happy.png”, then you could do:
例如你有一個(gè)Happy.png圖片,可以這樣寫
\picture[Happy]
Using this, you can assign pictures to each choice.
Keep in mind if even one choice is set up like this, the entire choice
window will use the Picture Choices format.
I would HIGHLY recommend making every choice have an picture assigned to it.
強(qiáng)烈建議每一個(gè)選項(xiàng)都有搭配圖片
Picture Choices Grid
By default, the grid used for the Picture Choices is based on the amount
of choices that are used.
默認(rèn)的圖片顯示框架如下
For example:
2 Choices – 2 Columns | 1 Rows
3 Choices – 3 Columns | 1 Rows
4 Choices – 2 Columns | 2 Rows
5 Choices – 5 Columns | 1 Rows
6 Choices – 3 Columns | 2 Rows
However, say for example, you wish to set up a custom grid (like you may
wish to have 3 Rows for 3 Choices), you can use the Plugin Command:
如果你想自定義框架渡蜻,你可以使用插件命令
SetPictureChoicesGrid [cols] [rows]
For example:
SetPictureChoicesGrid 1 3
上述會(huì)實(shí)現(xiàn)1列3行
If you wish to set it back to automatic mode, use the Plugin Command:
如果你想重置為自動(dòng)模式胸竞,可以用下面命令
SetPictureChoicesGrid auto