Custom Mirror Image don't level up with hero

nEVOVIPER

New Member
Hello, I'm new at this Forum, so i like to say Hello.
I have a problem. I have create a custom mirror image ability and put to a hero. But if the hero gain a level, the illusion didnt get the next level.
I have work with copypast and i have create a new skill, but every way bring the same result.

mfg Viper
 

keychup

Active Member
a unit gains a level

set "group" = units of unit type "levelling hero"
pick every unit in "group"
-create a special effect on picked unit using "path to level-up special effect"
Custom Script: call DestroyGroup (udg_group)
 

nEVOVIPER

New Member
it don't gain the level of the Illusion

level Image
Events
Unit - A unit Gains a level
Conditions
Actions
Set local_group = (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is an illusion) Equal to True))
Unit Group - Pick every unit in local_group and do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
 

WolfieeifloW

WEHZ Helper
Try it without using the variable.
Trigger:
  • level Image
    • Events
      • Unit - A unit Gains a level
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is an illusion) Equal to True)) and do (Actions)
        • Loop - Actions
          • Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Other\Levelup\LevelupCaster.mdl
 

nEVOVIPER

New Member
no, that nothing change. You can see the levelup special effect, but the illusion dont put to next level like hero.
 

WolfieeifloW

WEHZ Helper
Oh, wow...
Ya, my bad.

Take out the special effect, and put this in instead:
Code:
Hero - Set (Picked unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics
So your code will be:
Trigger:
  • level Image
    • Events
      • Unit - A unit Gains a level
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is an illusion) Equal to True)) and do (Actions)
        • Loop - Actions
          • Hero - Set (Picked unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics

Sorry about that!
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
So you have a custom illusion ability, which you've given to a hero.
1). Is it passive or active?
2). If I understand you, the ability is supposed to increase in level when the hero's level increases. To do this, you'll need to trigger the ability's level increase.
 

WolfieeifloW

WEHZ Helper
Pretty sure he wants the illusions to level with the hero.
His English isn't great though, so it's hard to decipher, yes :p
 

nEVOVIPER

New Member
i copy the ability "mirror image" of the Blademaster.
When the Baldemaster get a level up, than the Illus level up with him. But if my Hero levelup, the illus, created with custom mirror image, dosnt level up.
 

WolfieeifloW

WEHZ Helper
Have you tried my trigger?
Trigger:
  • level Image
    • Events
      • Unit - A unit Gains a level
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is an illusion) Equal to True)) and do (Actions)
        • Loop - Actions
          • Hero - Set (Picked unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics
 

SanKakU

Member
images are not heroes. so they don't have experience. so they don't level up. what you can do i suppose is replace the current images with new ones...but that would reset the duration. a work around for that is to trigger the images and trigger the duration. i actually just created a pretty fun image ability but it's probably quite different from what you're doing.
 

B0ndo

New Member
Have you tried my trigger?
Trigger:
  • level Image
    • Events
      • Unit - A unit Gains a level
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is an illusion) Equal to True)) and do (Actions)
        • Loop - Actions
          • Hero - Set (Picked unit) Hero-level to (Hero level of (Triggering unit)), Show level-up graphics
Eitherway, doesn't this trigger leak?
 

keychup

Active Member
Eitherway, doesn't this trigger leak?
Of course it does. But smart people know how to fix that themselves right?

SanKakU said:
images are not heroes. so they don't have experience. so they don't level up. what you can do i suppose is replace the current images with new ones...but that would reset the duration. a work around for that is to trigger the images and trigger the duration. i actually just created a pretty fun image ability but it's probably quite different from what you're doing
I think I saw some of my illusions leveling up a few times.
 

WolfieeifloW

WEHZ Helper
I've seen illusions level up.
The one I can think of right away is in Rabbits vs Sheep.
The Blademaster's illusions level up with him.

@nEVOVIPER: May I ask why the illusions need to level up with the hero?
 

nEVOVIPER

New Member
i can fix leak's.
have other people this problem too?

€: if the illus don't level with the Hero... you now with unit the real hero is. that isn't fair. it is a bug:-(
 

DioD

New Member
what about standart skill with standart params, check it first, may be you changed constants or have some additional scripting that causes this problem.

in native game illusions level up with caster correctly
 

nEVOVIPER

New Member
get the hero standard Mirror Image than all is fin. The illus leveling with him. Than i copy the Ability, added to the hero and play it. Than you have the bug.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    The Texas power got deregulated and they messed it up real good they absolutely did nothing to try and protect the grid from weather
  • The Helper The Helper:
    basically they took away all the safeguards to save money and then the worst happened lol
  • The Helper The Helper:
    they did not winterize any of the plants and they froze
  • The Helper The Helper:
    it is not that power consumption went up it was available capacity went down with power plants freezing
  • Varine Varine:
    What a fucking disaster. Are all of the Texas people okay? I see TH is, are we the only two?
  • Varine Varine:
    How have the other states held up? I just got power back so I have no idea what's going on, we didn't get warning
  • Varine Varine:
    Why the fuck didn't they fix this ten years ago when it happened?
  • Blackveiled Blackveiled:
    I'm in it with you and TH as well. My power has been in and out, and I have a ruptured pipe that I need to fix, shouldn't be too bad to fix myself.
  • Varine Varine:
    I hope you're staying warm! Apparently the supply is coming up so hopefully we can get back to normal power soon, mine has been on for six hours now.
  • M Mulciberxp:
    My power has been off most of the last 2 days. We had a generator installed 3 years ago though, so we're staying warm. Water is another issue...
  • The Helper The Helper:
    Where I live has a pool so we are using that to get water to flush the toilets. We have enough bottled water to drink and brush teeth and stuff but it has been a few days and no shower though....
  • Varine Varine:
    I had some water in gallon jugs, and got our water back on yesterday. We don't seem to have any leaks, but I haven't crawled down there to look yet.
  • The Helper The Helper:
    still no water I cannot remember when I last showered now I know how they felt in the old west lol
  • Varine Varine:
    My poor plants are happy, they aren
  • Varine Varine:
    aren't used to going this long without water or lights or normal heat. I think a couple of them froze, but they look like they'll make it
  • Varine Varine:
    Well one of them is pretty rough but I think it was sick to begin with, that one always had some problems.
  • jonas jonas:
  • jonas jonas:
    ???
  • Ghan Ghan:
    That is such a Texas thing to say lol
  • midnight8 midnight8:
    a positive could come out of this. So many people trapped at home could put a dent in the covid numbers in Texas
  • Varine Varine:
    That dude, Tom Boyd, is really upset about the backlash from his "it's your fault you're freezing" thing because he claims he resigned before saying it, so it wasn't like he said it in his official capacity or anything.
  • jonas jonas:
    Almost as if he was saying "screw you guys, I'm going home"
  • Varine Varine:
    I'm fairly new here still but that seems to be the analogous message by several of our politicians.
  • vypur85 vypur85:
    Nobody?
  • jonas jonas:
    Hi vypur85, long time no see

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top