Index | Diary | TSW | TSC | TSW Line Guides | TSC Scenarios

LUA Scripting

Spent most of the day trying to figure out why the Brighton Gravel Freight scenario works in the long function form, but not when I converted it to the short function form. All functions except the exceed speed worked. The exceed speed function would not turn off and start the next function, causing it to pop up the alert box, but instead of going to the next stage when you closed it, it just popped up again stalling the game.

I think that maybe the logic is wrong somehow for that function which does not occur in the long function form. I need to look at Matt Peddleston's video again...