I'm trying to create a simple map where preplaced Nydus Worms spawn zerglings, which then attack a specified point, whenever the player types "spawn" (just for debugging purposes). My triggers window is this: http://imgur.com/67hnx. I'm having a bit of trouble actually spawning the units- does anyone know what's wrong?
On a side note, is there any way to create an 'if' statement within the 'conditionals' section? I only see 'and' 'not' 'or' etc.
Could you clarify? You are having trouble spawning the units. You mean they won't unload? At first glance it looks like your nydus worms are not in any unit groups. Perhaps you could add them then give the order to unload.
Yes, I believe that the Nydus Worm is not unloading the units (I was able to spawn units without using Worms..).
Following your suggestion, how would I add both Nydus Worms to a unit group? It wouldn't be hard to add both of them, using a trigger, to a unit group, but wouldn't that be a local unit group?
Mind if i suggest a different solution? Have the nydus worm use a "create zergling" ability. (Don't just copy and paste the larvae into zergling, nydus worm would die) then set a rally point for where you want it to go! Otherwise, you need to make the nydus worm unload, not the units themselves.
See, your ordering the units in UnitGroupB, but that doesn't mean they can unload. (Make the nydus worm us the ability "unload all")
It seems that it's a known bug that unloading units created within Nydus Worms will be trapped midair. I looked through the WoL campaign maps, and it seems that Blizzard uses a workaround for this problem: they actually spawn units at the Nydus Worm location (the units don't actually come from inside) under the condition that the worm is still alive (to prevent spawning with a dead worm).
Hello there,
I'm trying to create a simple map where preplaced Nydus Worms spawn zerglings, which then attack a specified point, whenever the player types "spawn" (just for debugging purposes). My triggers window is this: http://imgur.com/67hnx. I'm having a bit of trouble actually spawning the units- does anyone know what's wrong?
On a side note, is there any way to create an 'if' statement within the 'conditionals' section? I only see 'and' 'not' 'or' etc.
Thanks!
@LordBlackwing: Go
Could you clarify? You are having trouble spawning the units. You mean they won't unload? At first glance it looks like your nydus worms are not in any unit groups. Perhaps you could add them then give the order to unload.
Yes, I believe that the Nydus Worm is not unloading the units (I was able to spawn units without using Worms..).
Following your suggestion, how would I add both Nydus Worms to a unit group? It wouldn't be hard to add both of them, using a trigger, to a unit group, but wouldn't that be a local unit group?
Mind if i suggest a different solution? Have the nydus worm use a "create zergling" ability. (Don't just copy and paste the larvae into zergling, nydus worm would die) then set a rally point for where you want it to go! Otherwise, you need to make the nydus worm unload, not the units themselves.
See, your ordering the units in UnitGroupB, but that doesn't mean they can unload. (Make the nydus worm us the ability "unload all")
@LordBlackwing: Go
Right now you are ordering the zerglings to unload but they have no such ability. Try ordering the nydus worm to unload.
Thanks for your help- the Nydus Worms correctly unloading the units.
Unfortunately, there's another slight problem- the Worm is unloading the zerglings in midair (http://imgur.com/KEm1P&GPD0Q). I'm not really sure what's up, but the trigger looks like this: http://imgur.com/KEm1P&GPD0Q#1.
EDIT:
It seems that it's a known bug that unloading units created within Nydus Worms will be trapped midair. I looked through the WoL campaign maps, and it seems that Blizzard uses a workaround for this problem: they actually spawn units at the Nydus Worm location (the units don't actually come from inside) under the condition that the worm is still alive (to prevent spawning with a dead worm).