RedPointDlg » 历史记录 » 版本 1
yangdefeng, 2022-05-13 22:06
1 | 1 | yangdefeng | _*%{color:green}redPointDlg%*_ |
---|---|---|---|
2 | 自定义对话框指定按钮上加红点,提示玩家点击。 |
||
3 | |||
4 | 标签:命令定义|redPointDlg |
||
5 | |||
6 | *格式* |
||
7 | |命令名 |参数1 |参数2 |参数3 | |
||
8 | |redPointDlg |按钮标识 |x坐标 |y坐标 | |
||
9 | |||
10 | *说明* |
||
11 | * 参数1: 按钮标识 |
||
12 | 格式 |
||
13 | 按钮文字@/跳转标签 |
||
14 | |||
15 | * 参数2: 红点在按钮上的x坐标,0点为按钮右上角 |
||
16 | |||
17 | * 参数3: 红点在按钮上的y坐标,0点为按钮右上角 |
||
18 | |||
19 | |||
20 | |||
21 | - |
||
22 | - |
||
23 | |||
24 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
25 | |||
26 | *使用前提1* |
||
27 | 请开启配置开关"isUseCustomOKPanel" |
||
28 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
29 | |配置节点|[[tjconfig|[tjconfig]]] | |
||
30 | |配置项 |isUseCustomOkPanel=1 | |
||
31 | |||
32 | |||
33 | *使用前提2* |
||
34 | 请配置补丁资源"lc",即找到以下配置项,加入 %{color:deeppink}lc% |
||
35 | |配置文件|...\Mir200\Tejieconfig\Tejieconfig.txt | |
||
36 | |配置节点|[tjconfig] | |
||
37 | |配置项 |patch=aa,bb,lc | |
||
38 | |||
39 | - |
||
40 | - |
||
41 | |||
42 | bq. <notextile>[@main]</notextile> |
||
43 | #say |
||
44 | <[[dlg_text_|text]]:这是可以产生红点的按钮{scolor=248}:0:20> |
||
45 | <[[dlg_imgButton_|imgButton]]:lc_anniuhui_2zi_xiao:80:100:按钮名称/@跳转目标> |
||
46 | \ \ \ \ \ \ \ \<notextile><加红点/@加红点></notextile>\ \ |
||
47 | <notextile><删红点/@删红点></notextile> |
||
48 | |
||
49 | <notextile>[@加红点]</notextile> |
||
50 | #act |
||
51 | *{color:green}redPointDlg* <notextile>按钮名称/@跳转目标</notextile> 0 0 |
||
52 | |
||
53 | <notextile>[@删红点]</notextile> |
||
54 | #act |
||
55 | [[delRedPointDlg]] <notextile>按钮名称/@跳转目标</notextile> |