项目

一般

简介

Dlg imgEx » 历史记录 » 版本 4

tejie, 2025-05-19 11:23

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