News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

[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.

Yona-TYT


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)
 hidden_object_stop()

Video Test: