Some help for my map...

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
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.
 
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...
 
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
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.
 
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.
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.
First off.
Do is your dummy unit invulnerable and does it have the locust ability?
 

Solu9

You can change this now in User CP.
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
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
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.
 
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.
  • The Helper The Helper:
    It is online though at night
  • The Helper The Helper:
    You would probably have to take a loan to get the Rice cert it is like 14l
  • The Helper The Helper:
    I was hoping you were going to say you wanted to be a cook and wished to open up a Food Truck there are so many opportunities for that here
  • The Helper The Helper:
    you can only open the bar if you sell food and a food truck in the parking lot counts
  • The Helper The Helper:
    here in houston
  • The Helper The Helper:
    most bars are struggling to build food prep and even some I know are doing there own food trucks
  • The Helper The Helper:
    but yeah man you should come to Houston there is so much more opportunity here than San Antonio. Just look at all the homeless people on the Riverwalk and downtown there you cannot even walk down the street without getting mobbed them
  • The Helper The Helper:
    check out this place apparently it is the best roommate site out there roommates.com lol
  • Varine Varine:
    The homeless people reminded me of New York
  • Varine Varine:
    I'll check it out, my lease expires in like a few months so I need to figure something out.
  • Varine Varine:
    I tried to open a food truck in Sandpoint a few years ago but the city said no, then like two years later they passed new laws to encourage it and gave them all fucking tax breaks and shit. And at that point I didn't have enough money to go buy one so I was way too late to the game once other cities realized they could just bring their existing truck there, or sell their brick and mortar.
  • Varine Varine:
    I do like food trucks though, they're way more fun than restaurants and usually I also get some of that tip money there.
  • Varine Varine:
    Restaurants are really hard if you don't have a back up source of income to fund them sometimes, in my experience most owners either got really really lucky, had existing money that allowed them to buy an already successful one, or they have family money to fall back on for loans. It's few and far between to see very inspiring success stories where the person actually got it through hard work and perseverance. I thought about opening one lots and I always just end up not thinking it'll work. I would much rather just find someone that has that money and go work for them
  • The Helper The Helper:
    i am not talking about opening a brick and mortar I am talking about food trucks though I have seen some brick and mortar mexican places open up during covid that are doing good because there food is awesome!
  • The Helper The Helper:
    Food trucks are killing out here because Bars cannot open unless they sell food and the governor ok'd the use of a food truck in front as serving food
  • The Helper The Helper:
    Just not enough food trucks
  • The Helper The Helper:
    a buddy of mine just opened up a food truck and he is killing it but he is a great cook and has awesome food right in the middle of the pandemic too food trucks are immune to pandemic because they are take out in Texas you will always be able to get take out or delivery
  • The Helper The Helper:
    He is in the different food facebook groups in houston and posts videos of him making his food
  • The Helper The Helper:
    he is killing it
  • jonas jonas:
    @Varine with the restaurants, there surely is a lot of luck and hard work but most restaurants fail because they suck. Flair isn't right, economics not well thought through, food is mediocre or sucks, location is bad, etc. If you're thinking about opening one, make sure you're looking at the stories of those that would be playing at your level, don't let your hopes be dragged down by all the subpar restaurants out there.
  • jonas jonas:
    I'm a bit worried about the future of data science, there's an influx of incompetent people hired by incompetent managers, that can't last. But I'm sure smart data scientists will always be useful and hireable. Same as smart security people.
  • jonas jonas:
    My sister in law worked in a vegan food truck, the owners were also making a killing, added several trucks and opened two restaurants over 5 years
  • Ghan Ghan:
    The CompTIA stuff is pretty much crap unfortunately. The places that ask for those low-level certs aren't likely places you want to work. For IT you really want a degree, but in the meantime you need to figure out some way to learn the skills. Cybersecurity is really hot right now so competition is fierce.
  • tom_mai78101 tom_mai78101:
    I realized I don't have anything much to say, other than "Good luck!". Compared to other places, I'm just very lucky we didn't have a lot of surges of cases coming in.

    Members online

    Affiliates

    Hive Workshop
    Top