Problems with event "Unit finishes upgrade"

JuffoWup

New Member
Reaction score
6
I got on my SuperMelee map problem regarding Event where player upgrades his base to Human,Orc,Undead or Night Elf Tier. What I want to do is to make building named "Shop" to upgrade to shop of same race as the upgradet Base tier is.

In other words, I lack the information of what conditions etc. to use.
 
T

Trotim

Guest
There is an event called "Unit finishes upgrade", I don't see why that shouldn't work?
 

JuffoWup

New Member
Reaction score
6
Argh... I know it, but the problem is that I need the trigger to identify WHAT type of unit it did upgrade to...

like this

Upgrades to Human Base- Replace Shop with Human Shop
Upgrades to Orc Base- Replace Shop with Orc Shop
Upgrades to Undead Base- Replace Shop with Undead Shop
Upgrades to Night Elf Base- Replace Shop with Night Elf Shop
 
T

Trotim

Guest
Can't you ask if the players owns a Human Base? I don't think that you're able to have a Human and an Undead Base...
 

JuffoWup

New Member
Reaction score
6
The problem is bit more complicated... Hell you can have all bases if you like to and thats not the problem. My problem is the there doesn't seem to be any condition to check what type of unit did the "Upgradet unit" upgrade to...

Kinda tricky
 
T

Trotim

Guest
Why doesn't anyone on this forum have the ability to think? Argh, that sounded harsh.

Can't you simply ask if the player owns a human base, and then upgrade the shop to the human one? As in "If number of units owned by [player] of type [human base] >= 1 then Replace [shop] with [human shop]".

Did that make sense? I'm kinda confused right now ~~
 

JuffoWup

New Member
Reaction score
6
No it cant be done like that, the first problem is that I'd have to make it with periodic event trigger to check it and I know from experience that it causes stuff like creating excess amount of these units etc.
 
T

Trotim

Guest
Mhm, can't you give the shops upgrades to those (Human Shop, Orc Shop), but make those upgraded shops require the bases?
You know, "Techtree - Requirements" is what I want to refer to.
 

JuffoWup

New Member
Reaction score
6
Yeah that WOULD work, but the reason I asked it that isn't as nifty as making Shop of the selected race automatically...

Dont look at me like that...
 

Kershbob

New Member
Reaction score
30
Base 4 abilities off chaos, one for each new shop (so "New Unit" as [Undead shop]/[Human shop] etc) with the requirement as the building.

So you Human shop chaos requires The Human HQ etc.

Then give all four chaos abilities to the shop.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
JuffoWup said:
The problem is bit more complicated... Hell you can have all bases if you like to and thats not the problem. My problem is the there doesn't seem to be any condition to check what type of unit did the "Upgradet unit" upgrade to...

Kinda tricky

Did you have a look at "Triggering unit"? That should be the new structure with "unit finishes an upgrade".
 

JuffoWup

New Member
Reaction score
6
I tried it, but it just.. didnt work. Why ? I guess the game doesnt identify WHAT unit type it's supposed to check... Go figure
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
If you upgrade a Town Hall to a Keep, then the condition "(Unit-type of (Triggering unit)) Equal to Keep" will work...


Anyway, here's two frequently posted replies:

- "It doesn't work" is not a very good problem description

- Trigger problems are best solved by posting the actual trigger
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/
  • The Helper The Helper:
    I think we need to add something to the bottom of the front page that shows the Headline News forum that has a link to go to the News Forum Index so people can see there is more news. Do you guys see what I am saying, lets say you read all the articles on the front page and you get to the end and it just ends, no kind of link for MOAR!
  • The Helper The Helper:
    Happy Wednesday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top