MoveEntity()

语法

MoveEntity(#Entity, x, y, z [, Mode])
概要
Move the specified entity.

参数

#Entity The entity to use.
x, y, z The new position of the entity.
Mode (optional) The move mode. It can be one of the following values:
  #PB_Relative: relative move, from the current entity position (default).
  #PB_Absolute: absolute move to the specified position.
combined with one of the following values:
  #PB_Local : local move.
  #PB_Parent: move relative to the parent position.
  #PB_World : move relative to the world.

返回值

无.

参阅

RotateEntity()

已支持操作系统

所有

<- IsEntity() - Entity Index - MoveEntityBone() ->