User Tools

Site Tools


4rpl:commands:getdecalposition

Index

GetDecalPosition

GetDecalPosition(<-decal) ->position

Description

Gets 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 returned V2 stores the X and Z map positions in the X,Y of the vector2.

Examples

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

Index

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