Discussion of rolling-stock creation & re-painting.
by cunningn » Sat Jul 25, 2020 5:42 am
Hi folks
A Lua query for any gurus out there. How can I get the amount of water in a steam loco tender and then alter it to simulate filling it up? There doesn't seem to be any function/value in the documented Lua guides that shows this - but it is obviously possible as lots of refueling points and water troughs can do it.
Hope someone can help.
Neil
-
cunningn
-
by cunningn » Tue Jul 28, 2020 3:08 am
Hi Folks
I got an answer on UKTS - haven't tried it yet so I'll post again when I have it working but looks pretty good:
Call("AddTenderWater", value)
Call("GetTenderWaterCapacity")
Call("GetTenderWaterCurrent")
Cheers
Neil
-
cunningn
-
Return to Rolling-Stock Design
Who is online
Users browsing this forum: No registered users and 1 guest