Action Index

Any information about the fun attribute is given here.

Moderator: Plugin Moderators

User avatar
cesareborgia94
Reactions:

Re: Action Index

#21

Post by cesareborgia94 »

Thank you all for explaining :)

User avatar
ElephantEthan
Inhabitant of a Megacity
Reactions:
Posts: 294
Joined: 26 Aug 2018, 14:07
Plugins: Showcase Store

Platform

Re: Action Index

#22

Post by ElephantEthan »

Any way to make a building place water?

Code: Select all

"actions":[{"type":"build","id":"$water00","x":1}]
Doesn't build anything.

User avatar
FranchuFranchu
Inhabitant of a Country
Reactions:
Posts: 799
Joined: 28 May 2017, 00:07
Location: Freezing in Argentina
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Action Index

#23

Post by FranchuFranchu »

ElephantEthan wrote:
04 Sep 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?

User avatar
Kulche
Pluche
Reactions:
Posts: 1141
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Action Index

#24

Post by Kulche »

Road info in build action seems bit outdated. How can I build roads at specific rotation? Also tunnels, bridges and ramps?

User avatar
CommanderABab
AB
Reactions:
Posts: 11086
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Action Index

#25

Post by CommanderABab »

Road frames update automatically with map rotation.

User avatar
Kulche
Pluche
Reactions:
Posts: 1141
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Action Index

#26

Post by Kulche »

I haven't mean rotation of map.

User avatar
KINGTUT10101
1,000,000 inhabitants
Reactions:
Posts: 2220
Joined: 07 Jul 2016, 22:50
Location: 'Merica
Plugins: Showcase Store
Version: Beta
Contact:

Plugin Creator

Platform

Re: Action Index

#27

Post by KINGTUT10101 »

Is there a way to set the performance of a building with Lua?

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: Action Index

#28

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

User avatar
Imran M
Inhabitant of a Country
Reactions:
Posts: 844
Joined: 24 Oct 2018, 13:41
Plugins: Showcase Store

Plugin Creator

Platform

Re: Action Index

#29

Post by Imran M »

There's 2 toasts.

I like toast, but this is one toast too many.

Post Reply Previous topicNext topic

Return to “Fun attribute”