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