Open Rails

AETraveller.place(TrackNode, Int32, Int32, Single, Single, TravellerDirection) Method

[This is preliminary documentation and subject to change.]

Creates a traveller starting at a specific location within a specified track node, facing in the specified direction.

public void place(
   TrackNode startTrackNode,
   int tileX,
   int tileZ,
   float x,
   float z,
   TravellerDirection direction
);

Parameters

startTrackNode
Starting track node.
tileX
Starting tile coordinate.
tileZ
Starting tile coordinate.
x
Starting coordinate.
z
Starting coordinate.
direction
Starting direction.

See Also

AETraveller Class | Orts.Formats.OR Namespace | AETraveller.place Overload List