Skip to content

Room To Map

Description

Room To Map Node The Room To Map Node takes input values X and Y that define a position in the room coordinates of a specified Location and converts the position into map coordinates.

This is particularly useful for positioning a map level object so that it is at a chosen point within a location.



Ports

Location
A location reference port that provides a reference to the location that the provided coordinates are relative to. If not connected, and the logic is on a location, the current location will be used.
X
An integer input port used to provide the X value of the location coordinate.
Y
An integer input port used to provide the Y value of the location coordinate.
X Out
An integer output port that provides the X value of the position in map coordinates.
Y Out
An integer output port that provides the Y value of the position in map coordinates.

Parameters

X
A constant integer value for the X coordinate, used when the X port is not connected.
Y
A constant integer value for the Y coordinate, used when the Y port is not connected.