Creating Base Order IDs and using Charge Gold and Lumber

retupmoc258

New Member
Reaction score
1
So, two basic problems.

1. Is there a way to create a new Base Order ID? I'm not expecting to run out, I hope, but I'm just wondering of the possibility. Also, on a similar note, if I have two abilities based on the same one (but in different spellbooks) will they both react at the same time, regardless of that fact? Even though nothing can trigger something inside of a spellbook.

Another thing I wondered is if both abilities actually get cast, or whether one ability gets cast, but the other one reacts as if it were the selected spell. That has never made sense to me. Rather than suffer from my mistakes soon (when I start re-ording Base IDs) I'd like to know in advance to know if I can overlap at all, not at all, or if I can make all abilities of a certain kind have the same cooldown (I'm guessing if I have them all in the spellbook, that's easy enough).

2. Whenever I use the Charge Gold and Lumber ability, it never activates the triggers I have set up for it (the events and/or the conditions don't trigger) and I can't figure out why.

Buy Potion
Events
Unit - A unit Starts the effect of an ability​
Conditions
(Ability being cast) Equal to (==) Buy Potion​
Actions
Game - Display to (All players) the text: You bought a Potion​

I have tried Starts the effect, starts casting, finishes casting, and none of them work. I have even tried modifying the stats of the ability giving it cooldown time or casting time, none of which do anything.

In case you're going to ask the most obvious question: "Why don't you just have the unit buy the potion" that's basically the back-up solution. It would require triggers and you can't see how much it's worth, because in my game I'm trying to have the cost be changeable--something you don't get on an ordinary map. Is there any way to get the ability to be triggered?
 

retupmoc258

New Member
Reaction score
1
So then what about the other problem? How do I get Charge Gold and Lumber to activate in a trigger? Has anyone ever succeeded in that? What did they do, or what might be my error?
 

jwallstone

New Member
Reaction score
33
I've gotten Charge Gold and Lumber to work just fine with triggers. Double check some things:

1. Your event is "A unit Starts the effect of an ability", but that looks like a Specific Unit event, for which you'd have to specifically add the unit you're testing with. Try a Generic Unit event.

2. Double check that no other triggers are stopping the unit from casting. If you must, you can turn off all other triggers and check if this works.
 

retupmoc258

New Member
Reaction score
1
All I've been using is the generic.

"Unit - A unit Begins casting an ability" I've also used Unit - a unit starts the effect of an ability, and finishes the effect of an ability, and channels an ability, and none of them have worked. And when you click on it it says "Unit - Generic unit event" It can't get more generic than that. I've even tried the ability with a moving unit--hero--and with a building. No success. I can run the trigger without a condition, too, and that still doesn't activate the trigger when I click on it.

Alright, so with the event "Unit - a unit Begins casting an ability" it will detect the Charge Gold and Lumber abilities when there is no condition. However, when I test what ability is being cast, the only event response condition I can find for abilities, it won't work.

Okay, new update. I eliminated the condition, again, and it triggers when I click on either one (I have two of them currently) and when I click either one, it says only the Buy Hi-Potion triggered. I can now get the condition to work for that trigger, which it didn't before (I can't figure out why that is), and it activates the second trigger without a condition, too, which makes sense. I also tried changing the Base Order IDs (it gives the option, which I was surprised with because people always said it wouldn't) and when I run the test, it only activates the Hi-Potion trigger (and the return from the trigger is that the ability being cast is Buy Hi-Potion) for both abilities.
 

jwallstone

New Member
Reaction score
33
All that's a bit confusing. Let me get this straight:

1. Begins Casting event works, but no other events work? Then the spell isn't being cast successfully. Are you sure you have enough gold/lumber?

2. Only one of the abilities run the trigger successfully? Why don't you just post the triggers so we can take a look.
 

retupmoc258

New Member
Reaction score
1
Yeah, sorry. Begin Casting event does not work. Begins effect works, like you suggested. Yes, 10000 and needing 50, works fine. The effect takes place every time. The triggers just weren't always activating when they had a condition. I found the issue, I think.

So I can get the two triggers to activate for themselves individually, if the abilities are on different units. It's the same problem most people talk about with Base Order ID (I had two of them on the same unit trying to do either one would always cast one of them and not the other, and so that's why my tests were always unsuccessful--a little more complicated than that, but simple is best). But, my new problem is that I've tried changing the Base order IDto two totally separate ones, even custom-made ones, and having two abilities based on Charge Gold and Lumber on the same unit still causes only the latter of the two to fire. So, I guess I could just keep it on different units, or . . . something. I thought of a way around what my problem is, so I might just use it.

There's no chance to put an icon into a tooltip, is there? Just curious. I know tooltips can put ability info into it with the <A000,DataA1> and all that, but is there a way to get other things in there?
 

jwallstone

New Member
Reaction score
33
Okay, glad you've got it figured out. I'm surprised that even with different Base Order Id's you're still getting problems. I'll try it out too and see what's happening.

Unfortunately, I don't think there's a way to put an icon there. The mana, gold, and lumber icons will appear next to the name automatically when you hover over the ability, and you can change that via Game Interface, but that's a universal thing.
 

retupmoc258

New Member
Reaction score
1
Did you find anything? I haven't put much more effort into it. I have a work-around that I can use that would work well enough. I wish I could get a tool-tip to use a variable, or table in its text. I haven't tried much, just <udg_Stat_Main[10]> That didn't work. I don't know. It might need to be converted to a text, or something. I'll see. It's possible I could use an ability simply to store info like that and have the tool-tip reference it. That should work. I hope.

Oh, do you have any idea how I can get EGUI working? I've tried everything from removing all the programs and re-installing it, to just trying a brand new, fresh map, and nothing has taken way the problem. I don't know what's doing it either. Sevion's instructions, including on his thread, in his trigger set, and with an installer that's not mentioned in the threat, create a duality that I do not understand, nor do I know what it does, or would do. Because I used the installer, do I even need the folder of triggers, or not? Nothing is really explained. And Sevion's instructions in each section actually contradict each-other. Have you gotten this to work?
 

retupmoc258

New Member
Reaction score
1
I found out what the problem was with those two different abilities, now. It's very simple, and very agrivating. You taught me how I could type in my own custom Base Order IDs. I thought that would work. I've tried having the same abilities in the same area with different, Custom Base Order IDs and they either don't show up (inside a spellbook) or they activate only one of the same abilities when you click on any one of them. You NEED to use internal Base Order IDs and they have to be separate. AND if you have a levelling ability that changes Base Order ID by level (like Channel or the Charge Gold and Lumber) then ALL of them need to be different from any other ability on the same unit (so just make them all the same for one ability). I tried using the internal ones as different for Level one, and their abilities were only level 1 at the time I used them, and it still created the Base Order ID type of errors because the rest of their levels were either the same internal Base Order ID, OR they were custom Order IDs and it caused the same problem. I changed all of them to internal Order IDs and Auto-filled, tried it in the map, and it worked. Hooray!
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • 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
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top