Page 2 of 2
Re: Action Index
Posted: Wed Jul 04, 2018 20:14
by cesareborgia94
Thank you all for explaining

Re: Action Index
Posted: Tue Sep 04, 2018 19:58
by ElephantEthan
Any way to make a building place water?
Code: Select all
"actions":[{"type":"build","id":"$water00","x":1}]
Doesn't build anything.
Re: Action Index
Posted: Tue Sep 04, 2018 23:41
by FranchuFranchu
ElephantEthan wrote: ↑Tue Sep 04, 2018 19:58
Any way to make a building place water?
Code: Select all
"actions":[{"type":"build","id":"$water00","x":1}]
Doesn't build anything.
Also related: Any way to remove and place terrain?
Re: Action Index
Posted: Sat Sep 15, 2018 11:57
by Kulche
Road info in build action seems bit outdated. How can I build roads at specific rotation? Also tunnels, bridges and ramps?
Re: Action Index
Posted: Sat Sep 15, 2018 16:06
by CommanderABab
Road frames update automatically with map rotation.
Re: Action Index
Posted: Sat Sep 15, 2018 18:27
by Kulche
I haven't mean rotation of map.
Re: Action Index
Posted: Thu Oct 24, 2019 2:25
by KINGTUT10101
Is there a way to set the performance of a building with Lua?
Re: Action Index
Posted: Sun Oct 27, 2019 16:24
by Lobby
Right now there is no easy function for that. However, you could use:
Code: Select all
City.getCity():getTile(x, y).building:setPerformance(performance)
with performance being a float number, 1 for 100%. The performance value will be clipped by the min and max values specified in the draft of the building.
Re: Action Index
Posted: Mon Oct 28, 2019 22:13
by Imran M
There's 2 toasts.
I like toast, but this is one toast too many.