EntityZ()

语法

Result = EntityZ(#Entity)
概要
Returns the current position of the entity in the world.

参数

#Entity The entity to use.
Mode (optional) The mode to get the 'z' position. It can be one of the following value:
  #PB_Absolute: get the absolute 'z' position of the entity in the world (default).
  #PB_Relative: get the 'z' position of the entity relative to its parent.

返回值

Returns the 'z' position of the entity.

参阅

EntityX(), EntityY(), MoveEntity()

已支持操作系统

所有

<- EntityYaw() - Entity Index - FetchEntityMaterial() ->