项目

一般

简介

RedpointAddBtn » 历史记录 » 版本 4

tejie, 2025-06-07 11:59

1 3 tejie
h4. _%{color:green}redpointAddBtn%_
2 1 machenhe
3 3 tejie
在[[addButton]]添加的按钮上增加红点显示,以按钮图片右上角作为锚点
4 1 machenhe
5 3 tejie
标签:命令定义^redpointAddBtn>redpointAddBtn
6 1 machenhe
7 2 tejie
*相关命令*
8
[[addButton]]
9
10 1 machenhe
*格式*
11
|命令名		|参数1		|参数2		|参数3		|
12
|redpointAddBtn	|按钮位置序号	|偏移X坐标	|偏移Y坐标	|
13
14
说明:
15 3 tejie
|参数1|指定按钮的位置序号|
16
|参数2|偏移X坐标,可空,默认为0|
17
|参数3|偏移Y坐标,可空,默认为0|
18 1 machenhe
19 3 tejie
-
20
-
21 1 machenhe
22 3 tejie
h4. %{color:deepskyblue}特戒引擎脚本示例:%
23 1 machenhe
24
bq. [<notextile>@</notextile>按钮红点]
25
#act
26 4 tejie
*{color:green}redpointAddBtn* 1 5 5