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,462
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,462
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,462
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
  • No one is chatting at the moment.
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/

      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