SetTrackMaxSpeed
DocsSetTrackMaxSpeed(track, newSpeed)Description
Sets the max speed for the train tracks. Used by ambient trains and for station calculations
Parameters
| Name | Type | Description |
|---|---|---|
track | int | The track id (between 0 - 27) |
newSpeed | int | The tracks new speed |
Returns
voidThis native does not return a value.