User Tools

Site Tools


4rpl:commands:setdecalposition

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

4rpl/commands/setdecalposition.txt · Last modified: 2021/01/24 14:04 by Sanian