|
So i've been trying to make my unit morph into another unit and that ability works fine. But ever since then for some reason my units have lost all of its standard abilities other than Move, Stop, Patrol, HP, Attack. It still had its morphing abilities though. And when i say "lost" i mean it doesn't even show up in the command card. Whats even more weird is that the problem is only occuring for Terran and Zerg units, not Protoss units. I'm assuming the problem lies in my morph ability because I hardly changed the units and the morph ability is really the only thing that i added. But I did all of the morph abilities the same and triple checked, no quadruple checked all of my morph abilities and they are, indeed exactly the same. So why would some units work and others not?
I've probably debugged this problem in every way possible: 1. I disabled all of my triggers. - Did nothing. 2. I made a trigger that both enabled and allowed the Auto-turret for the Raven(One of the units who has no abilities) and issued an order every game second to all units to use the Auto-turret at the position of the Raven. - Again, did nothing. 3. I deleted the Morph Raven ability and remade it the exact same way. - Of course, as expected, did nothing why would it? 4. I reverted the Raven unit back to the standard default Raven. - This actually worked, the Raven gained all of its old abilities back.(And the trigger i made from #2 worked on this Raven so i made the trigger correctly.) 5. I remade my morph ability the same way in a new empty map. - This worked too, the unit i made was able to morph into a Raven, which retained all its abilities and was able to morph back. 6. I removed all of the morph abilities from the Raven. - This one was interesting when i morphed into the Raven it lost all its abilities BUT when i placed the Raven on the map via map editor it retained all its abilities. 7. I added 1 of the morph abilities back in. - Raven lost all its standard abilities.
This is probably irrelevant but i wanted to mention that in the past not even the protoss abilities were showing up, i fixed that by simply removing the abilities i wasn't using from all of the units. Now I have no idea why that worked but it did.
This is my Morph Raven ability, the box is from "Ability Commands-"
![[image loading]](http://i.imgur.com/5evfA.png)
Here's the rest of the Morph Raven ability, some of it may overlap.
![[image loading]](http://i.imgur.com/DO9Hj.png)
This is the Raven unit itself:
![[image loading]](http://i.imgur.com/gv9jd.png)
This is the rest of it as well as the Unit Flags on the left.
![[image loading]](http://i.imgur.com/HuH2V.png)
Here is the Raven Actor:
![[image loading]](http://i.imgur.com/1EMCB.png)
Let me know if you need more information but i think i gave more than enough information but i don't know much about the data editor to even know. I really hope somebody can figure this out because my brain literally can not fathom why this isn't working...
And of course thank you for taking the time to read this long ass post and seriously props to anybody who figures this out for me.
|
**Without being able to see the map itself, I can only make guesses at what might help:
Are you actually using a 'morph' class ability? [eg. siege tank and warp prism and burrow] Or are you using a 'train' class ability? [eg. larva -> units]
Because with morphing, of course, there are 2 separate units you need to set up [although they don't necessarily require separate unit actors, the units still need to be linked properly in the relevant actor events]. Also, morphing doesn't count as a 'unit birth' or 'actor creation' event.
And even if you use separate unit actors, you need to set up the create and destroy actor events for both of the the 'morphed from' and 'morphed to' units to make it so that you aren't creating conflicts.
Some of the zerg units have place holder 'abilty morph' event actors intended to be used for burrow that can create conflicts if you don't specify the abilities properly. [look in all the pre-existing grey stuff - those can do things you might not expect]
My guess is that there is something buggy in your raven unit actor events [I see in your screencap that you have 3 units named 'Raven' there.] And your morph ability and the unit actors aren't working properly to create/destroy the proper raven unit at the right times.
So you end up with some weird 'in morphing limbo' unit that both is and isn't a usable thing. [even a morphing limbo unit will retain its basic move command card for some reason I've found, but is often unselectable if you deselect it]
Another possible issue has to do with the raven itself at the moment. Blizzard's mysterious non-patch patches that take place server side don't appear in the editor. And annoyingly, they sometimes 'overwrite the broken data' when you attempt to do something like change the infestor or raven's abilities. Though it seems unlikely this is what's at issue here.
|
I just updated my post to include the Raven Actor. I gave the original unit a destroy actor and then gave it a create actor. All of the unit actors has this and it basically just destroys the original unit and creates a new one in its place. And i think i'm using the morph class ability, when i made the ability the ability type i chose was Morph.
I'm also not sure why i have 3 ravens there although it will only let me select one when i was making my ability(Under Ability: info)
Also, i don't think i has to do with a morph conflict because even without morphing i still lose my abilities. I could just place a Raven unit on the map and it won't have any abilities, its not just when it morphs it loses its abilities.
|
|
^ That could be the problem if all your units are morphing from the same unit.
Make sure to give your units and abilities very unique names, otherwise they can get mixed up by the data editor through no fault of your own.
I'm not 100% sure, but don't you need a MorphFrom actor event as well? I guess not if its working as-is.
|
Thank alot! I was hitting the ability max. Btw the max abilities a unit can have is about 27-28, unless i'm counting wrong. I really think Blizzard should have showed an Error message or something to notify us as to what the problem was instead of just hiding the ability and telling us nothing, because i speant alot of wasted hours on this problem. But i'm glad i finally got it figured out.
EDIT: Also, if anybody knows a way around this i would love to know, this ability problem will really limit my maps potential...
|
|
|
|