The International Simutrans Forum

Development => Scripting Scenarios and AI => Topic started by: Yona-TYT on July 30, 2022, 04:47:09 AM

Title: [Patch] Hide buildings and trees in an area with a certain range
Post by: Yona-TYT on July 30, 2022, 04:47:09 AM

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: