Page 1 of 1

Can a Lua plugin change visibility of buildings?

Posted: 01 May 2025, 15:13
by jai.san
Any veteran in the Lua API could confirm whether it's possible to change the visibility of buildings using the API? I'm trying to temporarily hide buildings when going into building tool mode.

Re: Can a Lua plugin change visibility of buildings?

Posted: 06 May 2025, 10:16
by daniellereed
Yes, in TheoTown, you can manipulate the visibility of buildings using Lua scripts. This is typically done by modifying the Draft (the blueprint or template) associated with a building.