Index

SetDecalPosition

SetDecalPosition(<-decal <-position)

Description

Sets the position (V2) of a decal. A decal is specified by its ID (shown in the decal editor pane). The position is where the decal is on the map. The X,Z map coordinates are stored in the X.Y values of a Vector 2 and are rounded to the nearest int.

Examples

GetDecalPosition(<-decalID) ->position
printallsp(<-position.x <-position.y)

Index