Custom Mirror Image don't level up with hero

nEVOVIPER

New Member
Reaction score
0
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
Reaction score
34
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
Reaction score
0
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
Reaction score
372
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
Reaction score
0
no, that nothing change. You can see the levelup special effect, but the illusion dont put to next level like hero.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
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.
Reaction score
613
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
Reaction score
372
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
Reaction score
0
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
Reaction score
372
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
Reaction score
21
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
Reaction score
4
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
Reaction score
34
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
Reaction score
372
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
Reaction score
0
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
Reaction score
57
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
Reaction score
0
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.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • 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 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