Dlg playImg » 历史记录 » 版本 2
yangdefeng, 2022-05-07 23:48
1 | 1 | machenhe | _*{color:green}playImg*_ |
---|---|---|---|
2 | 自定义对话框中显示指定图片 |
||
3 | |||
4 | 标签:命令定义|dlg_playImg |
||
5 | |||
6 | *格式* |
||
7 | |命令名 |参数1 |参数2|参数3|参数4 | |
||
8 | |playImg |图片资源名|x坐标|y坐标|跳转标签| |
||
9 | |||
10 | |||
11 | *说明* |
||
12 | 参数1: 图片资源名,参见[[资源编辑器]] |
||
13 | |||
14 | 参数2: 指定图片在对话框中的x坐标 |
||
15 | |||
16 | 参数3: 指定图片在对话框中的y坐标 |
||
17 | |||
18 | 参数4: 点击图片后的跳转标签 |
||
19 | |||
20 | - |
||
21 | - |
||
22 | |||
23 | *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
24 | |||
25 | *使用前提* |
||
26 | 2 | yangdefeng | 请配置补丁资源"lc",即找到以下配置项,加入 %{color:deeppink}lc% |
27 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
28 | 1 | machenhe | |配置节点|[tjconfig] | |
29 | |配置项 |patch=aa,bb,lc | |
||
30 | |||
31 | - |
||
32 | - |
||
33 | |||
34 | bq. [<notextile>@</notextile>main] |
||
35 | #say |
||
36 | [[dlg_imgEx_|imgEx]]:lc_putongtouzi:50:50/<notextile>@</notextile>跳转标签> |
||
37 | <notextile><</notextile>*{color:green}playImg*:lc_jintouzi:250:50/<notextile>@</notextile>跳转标签> |
||
38 | |
||
39 | [<notextile>@</notextile>跳转标签] |
||
40 | #act |
||
41 | [[close]] |
||
42 | [[movR]] d0 1 7 |
||
43 | [[playDice]] 1 <notextile>@</notextile>等待结果 |
||
44 | |
||
45 | [<notextile>@</notextile>等待结果] |
||
46 | #act |
||
47 | [[delayGoto]] 2500 <notextile>@</notextile>展示结果 |
||
48 | |
||
49 | [<notextile>@</notextile>展示结果] |
||
50 | #act |
||
51 | [[sendTipsMsg]] 摇出了<$str(d0)>/scolor=151 |