decal.place

Section: Decals

What it does

decal.place takes preset, x, y, z, nx, ny, nz and opts. nx, ny, nz and opts are optional.

Signature

decal.place(preset, x, y, z, nx?, ny?, nz?, opts?)

Arguments

  • preset
  • x
  • y
  • z
  • nxoptional
  • nyoptional
  • nzoptional
  • optsoptional

Example · generated

function start() {  decal.place('default', 0, 2, 0);}

decal.place is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.

8 members in decal