Garry's Mod Wiki

util.Decal

util.Decal( string name, Vector start, Vector end, Entity filter = NULL )

Description

Performs a trace and paints a decal to the surface hit.

Arguments

1 string name
The name of the decal to paint.
2 Vector start
The start of the trace.
3 Vector end
The end of the trace.
4 Entity filter = NULL
If set, the decal will not be able to be placed on given entity. Can also be a table of entities.

Built in Decals

Here's a list of all the decal names that should be possible to use by default.

  • BeerSplash
  • BirdPoop
  • Blood
  • BulletProof
  • Cross
  • Dark
  • ExplosiveGunshot
  • Eye
  • FadingScorch
  • GlassBreak
  • Impact.Antlion
  • Impact.BloodyFlesh
  • Impact.Concrete
  • Impact.Glass
  • Impact.Metal
  • Impact.Sand
  • Impact.Wood
  • Light
  • ManhackCut
  • Nought
  • Noughtsncrosses
  • PaintSplatBlue
  • PaintSplatGreen
  • PaintSplatPink
  • Scorch
  • SmallScorch
  • Smile
  • Splash.Large
  • YellowBlood

Page Links


Special Pages


Wikis

?

Render Time: 41ms

DB GetPage 4
Generate Html 7
SaveChanges (1) 9
Render Body 0
Render Sidebar 18