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.
  • tom_mai78101 tom_mai78101:
    Make sure you keep checking out my news..
    +2
  • Jesus4Lyf Jesus4Lyf:
    Man, I made this account 15 years ago? Wild. :)
  • Ghan Ghan:
    Seeing J4L is definitely a blast from the past.
  • Jesus4Lyf Jesus4Lyf:
    Oh hey Ghan! Long time. :)
    +1
  • jonas jonas:
    J4L! What has happened in your life
  • Jesus4Lyf Jesus4Lyf:
    Hmm, how to summarize... Moved to the USA and got married. Became a professional software engineer and solution lead. Learning Godot for game dev. :)
  • jonas jonas:
    So you are pursuing game dev as a hobby? What industry is your dayjob in?
  • jonas jonas:
    FAANG?
  • Jesus4Lyf Jesus4Lyf:
    Not quite FAANG, less pay for a less hours/stress. Yeah, game dev as a hobby.
  • jonas jonas:
    makes sense. Do we have a hobby game dev subforum to showcase some work?
  • Blackveiled Blackveiled:
    Happy Thursday
    +1
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    TGIF!
  • The Helper The Helper:
    hey tom_mai please do not archive anymore news
  • Ghan Ghan:
    AMD Ryzen 7000 next week :D
    +1
  • The Helper The Helper:
    noice!
  • tom_mai78101 tom_mai78101:
    "hey tom_mai please do not archive anymore news" ----> Got it. What should we do with the "News Archive" subforum?
  • The Helper The Helper:
    I think leave it for real old news that cannot be sorted the reason we had it in the first place was a server issue that we do not have anymore. I don't want to get rid of the archive just not put anything in it for now until we figure it out more
  • The Helper The Helper:
    The side chat has nothing on the discord. it is not possible but the biggest thing on my wish list right now is a sidechat channel on the disord that hooks up to this...
  • Ghan Ghan:
    I've been selected for the Diablo IV beta.
    +1
  • Ghan Ghan:
    Woo!
    +1
  • The Helper The Helper:
    that is so cool
  • V-SNES V-SNES:
    Eh just noticed the new discord section on the side. Looks great!
    +1
  • Blackveiled Blackveiled:
    :( feels bad I can't ever get selected for any beta I sign up for. It's annoying as heck.
    +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