🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
if the ability "dark portal (Training altar)" is an "instant" type ability (like summon bear - where you just click on the ability and it works without having to select a point or unit you want it to happen at [like flame strike/storm bolt] )
then you need to select units within 100 of triggering unit.
also you are leaking a point and a unit group. if you want to avoid that (which you should), you need to first set the point = point of triggering unit, set the unit group = all units within 100 range of point, and only then use the function you used, with the variables in it. afterwards remove the points. notice that this will also affect any other units who happen to be in range...
alternatively, you could just have the whole ability be triggered, and directly create the units for the player you want to have them.
however, if the ability is just a regular summoning type ability, this is probably the simplest way to go:
create units using the ability
Events
Unit - A unit Spawns a summoned unit
Conditions
(Unit-type of (Triggering unit)) Equal to "training altar"
Actions
Unit - Change ownership of (Summoned unit) to Neutral Hostile and Change color
You should be able to use Spawns a summoned unit in response to any Blizzard ability that creates summons. It should work for all of the summoned units.
Summoned unit trigger is what I have tried initially, but that does not work for some reason. As the Dark Portal has randomness of a spawn already implemented, I thought it should be much easier than creating a massive trigger, thus a "clever" workaround, but that also had no effect.
While typing I thought that it was perhaps a problem with the syntax and it actually was!!!
Putting a summoning unit instead of triggering unit worked:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.