BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Variable to determine Length of a Station?

Go down

Variable to determine Length of a Station? Empty Variable to determine Length of a Station?

Post by NYCT_Railer on Fri May 15, 2020 7:01 am

Hello! I've been tackling major train functions and one of the most common issues is when trying to determine length of a station using the available DistanceNextStation Variable, it becomes inaccurate if the stations' length varies from time to time, so maybe a quick addition perhaps:

NextStationLength - Returns the length in m of the next station
LengthStation[Index] - Returns the length in m of the station with index
NextStationStopLength - Returns the length in m of the next station stop
NYCT_Railer
NYCT_Railer

Posts : 7
Join date : 2020-04-25

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum