Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

[Patch] Hide buildings and trees in an area with a certain range

Started by Yona-TYT, July 30, 2022, 04:47:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


This is an experiment on my part, I apologize if it's badly programmed (I'm really not very good at this) and I haven't programmed anything for a long time.

Basically this uses the function that hides under the cursor, but with this you can control it with script.

This is what I would like to use in the tutorial to help the player more easily see where the stations/stops are in cities with large buildings.
hidden_object_range(coord(pos.x,pos.y), 3)

Video Test: