Can a Lua plugin change visibility of buildings?

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
jai.san
Settler
Posts: 1
Joined: 01 May 2025, 15:07

Can a Lua plugin change visibility of buildings?

#1

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

User avatar
daniellereed
Settler
Posts: 3
Joined: 06 May 2025, 10:08

Re: Can a Lua plugin change visibility of buildings?

#2

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

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”