Dlg playImg » 历史记录 » 修订 2
修订 1 (machenhe, 2022-04-29 13:01) → 修订 2/4 (yangdefeng, 2022-05-07 23:48)
_*{color:green}playImg*_
自定义对话框中显示指定图片
标签:命令定义|dlg_playImg
*格式*
|命令名 |参数1 |参数2|参数3|参数4 |
|playImg |图片资源名|x坐标|y坐标|跳转标签|
*说明*
参数1: 图片资源名,参见[[资源编辑器]]
参数2: 指定图片在对话框中的x坐标
参数3: 指定图片在对话框中的y坐标
参数4: 点击图片后的跳转标签
-
-
*%{color:deepskyblue}特戒引擎脚本示例:%*
*使用前提*
请配置补丁资源"lc",即找到以下配置项,加入 请配置补丁资源\"lc\",即找到以下配置项,加入 %{color:deeppink}lc%
|配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt |配置文件|...\\Mir200\\Tejieconfig\\Tejieconfig.txt |
|配置节点|[tjconfig] |
|配置项 |patch=aa,bb,lc |
-
-
bq. [<notextile>@</notextile>main]
#say
[[dlg_imgEx_|imgEx]]:lc_putongtouzi:50:50/<notextile>@</notextile>跳转标签>
<notextile><</notextile>*{color:green}playImg*:lc_jintouzi:250:50/<notextile>@</notextile>跳转标签>
[<notextile>@</notextile>跳转标签]
#act
[[close]]
[[movR]] d0 1 7
[[playDice]] 1 <notextile>@</notextile>等待结果
[<notextile>@</notextile>等待结果]
#act
[[delayGoto]] 2500 <notextile>@</notextile>展示结果
[<notextile>@</notextile>展示结果]
#act
[[sendTipsMsg]] 摇出了<$str(d0)>/scolor=151