Entity::setCoords

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

p7 is always 1 in the scripts. Set to 1, an area around the destination coords for the moved entity is cleared from other entities.

Often ends with 1, 0, 0, 1); in the scripts. It works.

Axis - Invert Axis Flags

Syntax

entity.setCoords(xPos, yPos, zPos, xAxis, yAxis, zAxis, clearArea);

Required Arguments

  • xPos: float
  • yPos: float
  • zPos: float
  • xAxis: Boolean
  • yAxis: Boolean
  • zAxis: Boolean
  • clearArea: Boolean

Return value

  • Undefined

Example

// todo

See also