About upgrades

Plug-in related stuff can be discussed here.

Moderator: Plugin Moderators

User avatar
Inhabitant of a Galaxy Cluster
Posts: 2895
Joined: Tue Apr 18, 2017 9:03
Location: In a place you don't expect.
Plugins: Show
Version: Beta
Phone model: Have 3, all too long


About upgrades


Post by BetterBear » Tue May 08, 2018 6:13

What is the code if I wanted a building to be built, but it must have another building upgraded first?
BEaRz ArE AmAZiNG. I Am FeElIng SlEepY..

Posts: 6
Joined: Tue Mar 06, 2018 14:29
Plugins: Show
Phone model: Xiaomi Redmi Note 4

Re: About upgrades


Post by PrathamK » Sun May 20, 2018 10:53

Requirements tag might be what you need, I don't know amuch about it.

User avatar
Posts: 8426
Joined: Tue Jun 07, 2016 21:12
Plugins: Show
Version: Beta


Plugin Creator

Re: About upgrades


Post by CommanderABab » Sun May 20, 2018 15:39

The building that needs to be built would need to set a variable when upgraded. The new building would require in a condition that that variable be set. Or possibly just check if the upgrade exists.
826!826Currently using beta 826. 826 What's new? :)
diagonal road tool!!

Telegram - t.me/

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests