Some help for my map...

Reaction score
9
Sorry, for double post, I can't edit it, since the trigger always messed up if I did... I forgot to mention the number 1280.00 that is used in the trigger was the Abilities (Art - Missile Speed), or should I store it as Real variables too...?
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
Make the missle a unit, have the unit travel to its target, when the missle reaches the target activate the trigger.
There is no simple way to detect whether a wc3 standard missle has reached its target. The only event that is being fired is the "UnitTakesDamage" event, but its hard to filter out false positives.
 
Reaction score
9
Make the missle a unit, have the unit travel to its target, when the missle reaches the target activate the trigger.
Create a dummy just to see a missile hits...? Isn't that too excessive...? Its just a missile and does nothing actually...
There is no simple way to detect whether a wc3 standard missle has reached its target. The only event that is being fired is the "UnitTakesDamage" event, but its hard to filter out false positives.
Yeah I'd tried that before and it doesn't work...
 
Reaction score
9
Okay, thanks for your answer, but what if I sued timer to "wait" the actual missile hits...? is there any differences with using dummy unit as a missile...? And what's the problem that might happen if I usde timer...?


Edit: used...
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
You dont know how long it takes until the missle hits its target.
The target might move, might get teleported, might blink away, might die, etc.

When you use a missle you can give it a timed life or invalidate it when the target is teleported away / blinked. You can also remove the missle when the target dies or other nasty things happen. Imagine the target uses some kind of incinvibility ability or cloaking or anything. In those circumstances you dont want the missle to hit, but a timer is not able to detect that.
 
Reaction score
9
Blast...! I didn't think about that before...! Thanks, that makes the only option is make a dummy unit as missile, thanks guys...:)
 
Reaction score
9
Hi guys, I'm back, with some trouble...:(
I'm trying to un-channel Blizzard ability - creates a dummy to cast the Blizzard...
But, I got problems here, the dummy only cast the Blizzard for just 1 wave then got removed, which the dummy ability has 6 waves' blizzard...
Here're the triggers:
Trigger:
  • blizzard unchannel cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blizzard unchannel
    • Actions
      • Set bu_point_caster = (Position of (Triggering unit))
      • Set bu_point_target = (Target point of ability being cast)
      • Unit - Create 1 blizzard dummy for (Owner of (Triggering unit)) at bu_point_caster facing (Angle from bu_point_caster to bu_point_caster) degrees
      • Unit - Set level of Blizzard (dummy) for (Last created unit) to (Level of Blizzard unchannel for (Triggering unit))
      • Unit - Add a 10.00 second Generic expiration timer to (Last created unit)
      • Unit - Order (Last created unit) to Human Archmage - Blizzard bu_point_target
      • Custom script: call RemoveLocation(udg_bu_point_caster)
      • Custom script: call RemoveLocation(udg_bu_point_target)

Trigger:
  • blizzard unchannel stop
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Blizzard (dummy)
      • (Unit-type of (Triggering unit)) Equal to blizzard dummy
    • Actions
      • Unit - Remove (Triggering unit) from the game

So, is there any idea why those triggers above doesn't work like what I want...?
 

Solu9

You can change this now in User CP.
Reaction score
216
There is no reason for the second trigger.
The generic expiration timer in the first trigger removes the unit from the game when it expires.
 

Solu9

You can change this now in User CP.
Reaction score
216
First off.
Do is your dummy unit invulnerable and does it have the locust ability?
 

vypur85

Hibernate
Reaction score
803
The first trigger seems fine. The issue lies in the game AI. It's pretty annoying sometimes. I have no idea how to go about dealing with this.

For me, the best workaround is to recreate the whole damn ability using trigger.
 

Solu9

You can change this now in User CP.
Reaction score
216
In my experience a channel ability like Blizzard works fine if the dummy unit is owned by a player, neutral hostile, or an AI NOT set to anything specific in the Player Properties. So I doubt it is because of the AI in this case.
But I agree. The AI can screw up a lot.
 

vypur85

Hibernate
Reaction score
803
Well, I've had this problems before myself too.
And the annoying thing is that it happens in random.
Sometimes it works but sometimes shit happens.

Both of the trigger look pretty fine to me.
If the AI issue is not it, then it definitely is your Object Editor issue.

> The AI can screw up a lot.
True that.
 

Accname

2D-Graphics enthusiast
Reaction score
1,463
I have never had problems with a dummy unit casting blizzard.
If everything in the object editor is set up correctly this should work as long as the dummy unit does not get stunned / killed / silenced in some way.
 
Reaction score
9
First off.
Do is your dummy unit invulnerable and does it have the locust ability?

Nope, its not invulnerable, but it has locust...

Well, I've had this problems before myself too.
And the annoying thing is that it happens in random.
Sometimes it works but sometimes shit happens.

Both of the trigger look pretty fine to me.
If the AI issue is not it, then it definitely is your Object Editor issue.

> The AI can screw up a lot.
True that.

I have never had problems with a dummy unit casting blizzard.
If everything in the object editor is set up correctly this should work as long as the dummy unit does not get stunned / killed / silenced in some way.

Ok, the only thing I've change in World Editor is:
- Art - Animation Names: - (since the dummy has no model)
- Stats - Hero Ability: False (because I've seen some spell doesn't work since the dummy is a unit, not hero)
- Level [1, 2, 3] - Cast Range: 99999.00 (because the spell was purposed to be able being cast from across the map)
- Level [1, 2, 3] - Cooldown: 0.00
- Level [1, 2, 3] - Mana Cost: 0
Else than had mentioned above is set to normal (nothing changed), It's been 2 days and still I can't get this thing work...

Edit: If the dummy have Locust ability, its impossible to be stunned/silenced, right...? Or the dummy have to be invulnerable too...?
 
General chit-chat
Help Users
  • 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