1D
MEDIA
全国客服电话400-100-1000
新闻详情

EUD/Offset/Location EUD/偏移/位置

EUD/Offset/Location EUD/偏移/位置

Last Modified:
上次修改时间:2024-10-25 05:49:11
Category 类别
 Parent article:EUD/offset
父文章: EUD/胶印
Starcraft Trigger related documentation
StarcraftTrigger相关文档
Conditions / Execution ( Artificial Intelligence )
条件 / 执行 ( 人工智能 )
Unit · Weapon · Location · Enhancement
单位 ·武器 ·位置 ·增强
tools
EUD Editor · TrigEditPlus
EUD 编辑器 ·TrigEditPlus
etc
Unlimiter · epScript · Learn
无限者 ·epScript ·学习

1. coordinates of the location
1. 位置的坐标

1. coordinates of the location
1. 位置的坐标

0058DC60
Size
20
Length
255
Player Number 玩家编号
P12
Unit ID 设备 ID
303
Extended Player Number 扩展玩家编号
3647
It has the coordinates of the location and a string number. The role is divided for each 4 bytes. Based on the address that comes first, it is listed as follows.
它具有位置的坐标和字符串编号。角色每 4 个字节划分一次。根据排在前面的地址,它按如下方式列出。
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
left coordinate 左坐标
top coordinate top 坐标
right coordinate 右坐标
down coordinate down 坐标
String to use/apply height and unit flags
使用/应用高度和单位标志的字符串

Using this address, very delicate location movement is possible, and multiple roles can be performed at the same time with one location. However, since the position of the location is determined by up, down, left, and right coordinates, four coordinates must be simultaneously changed to an accurate position when moving. Since one coordinate uses 4 bytes, using SetTo is efficient.
使用此地址,可以进行非常精细的位置移动,并且可以在一个位置同时执行多个角色。但是,由于位置的位置是由上、下、左、右坐标决定的,因此在移动时必须同时将四个坐标更改为正确的位置。由于一个坐标使用 4 个字节,因此使用 SetTo 是高效的。


In addition, the fifth data contains the string number used by the corresponding location and the corresponding location flag. The values of the flags are:
此外,第五个数据包含相应位置使用的字符串编号和相应的位置标志。标志的值为:
ground unit 地面单元
low terrain 低地
65536
intermediate terrain 中间地形
131072
high terrain 高地形
262144
air unit 空气单元
low terrain 低地
524288
intermediate terrain 中间地形
1048576
high terrain 高地形
2097152
The content of the table above means that the location will not apply that unit of the height zone to the location. That is, if 65536 is added, it means that the location excludes ground units in low terrain from the target of the location. Also, the above values have regularity. By default it starts at 65536, where the current number is multiplied by 2.
上表的内容意味着该位置不会将该高度区域的单位应用于该位置。也就是说,如果添加了 65536,则表示该位置从该位置的目标中排除了低地地形中的地面单位。此外,上述值具有规律性。默认情况下,它从 65536 开始,其中当前数字乘以 2。


For reference, the 256th location corresponds to "Anywhere".
作为参考,第 256 个位置对应于 “Anywhere”。


姓名
*
邮件地址
*
给我们留言
*
验证码
 换一张
*
提交

联系我们

Wechat  Tianword

Phone : 400-100-1000

E-mail : 1d@1-1d.com

公司地址:广州市天河区华夏路16号富力盈凯广场48楼