Don`t know how many hours I`ve been sitting scratching my head now but I don`t understand how I am supposed to create several different Zerglings for my map.
When I duplicate or copy from Zerglings they all appear in the actors list of the original Burrowed Zergling - I have made new abilities and put the right unit into the info field on both abilites. I am getting a warning up that I am using more than one actor for the burrowed Zergling when I put them both on the map.
How can I remove actors from the original burrowed Zergling?
The burrowed Zergling does not even have a actor. (atlest not listed)
I will try to explain it better this time, and I realize now that something subtle may be going wrong.
Burrowed zerglings use the same actor as their unburrowed counterparts. This makes sense because a unit actor is just the thing in charge of the how the unit's model should be behaving during the game, and burrowing just results in the model applying the burrow attribute to its animations. This isn't always how things are set up with other morph abilities, but it is how burrow tends to be set up by Blizz.
When you duplicated the zergling unit and actor and what not it does not automatically set up the proper behavior of the new actor with respect to burrowing. In the Events for the new zergling actor it likely has lines that still reference the original burrow ability and the original burrowed zergling unit. These should be changed to the new burrow ability and the new burrowed unit.
So whats going on here?
The Events for an actor controls how the actor responds whenever something happens in the game. One example is unit creation. When a unit is birthed in the game, the unit does not automatically create its corresponding unit actor. In a weird feat of pulling-itself-up-by-its-bootstraps it is infact the unit actor(say a zergling) typically which creates itself in response to a unit of that type is birthed event. So to understand what may be happening first understand that the original zergling actor is set up to create itself in response to an original BURROWED zergling being created(it also creates itself whenever an unburrowed zergling is created). Now when you duplicate the zergling unit and actor the duplicator understands that you want the duplicate zergling to create itself whenever a duplicate-type zergling unit is birthed and not whenever an original-type zergling unit is. However the duplicator does not understand the same thing about how things should work for the burrowed zergling, at least not properly. It is not entirely sure who it should refer to, since it can only guess as to the name of the new burrowed unit. When I do it in the editor it automatically sets things up so that the new zergling actor will create itself whenever a unit called Zergling2Burrowed is born. This would all be fine and good if the guess happened to be correct and there is such a unit type which exists. Hilariously enough however, when you duplicate the burrowed version of the zergling unit you end up with a unit type called ZerglingBurrowed2 by default. OOPS, LOL BLIZZ YOU SO SILLY.
I don't really know what happens in this case if there is no unit-type by the name Zergling2Burrowed. I would guess that the event would either now happen when ANY unit is birthed, or it would never happen. The fact that you are getting multiple actors persisting suggests to me that it is the former.
Anyways enough on speculating about what is going wrong. What you need to do is manually go through the events for your actors and make sure they make sense. There should be no references to the original zergling unit or abilities, and you will need to make sure that it doesn't reference fictitious things that it incorrectly guessed the name of.
Good luck =) Please don't make a new thread and just post in here if you still can't get it to work.
My guess is that what eluded you the first time is just the ridiculous fictitious name issue, and understandably so. I would probably stare at Zergling2Burrowed for hours and not realize it was different from the ZerglingBurrowed2 that I really had.
However what would tip me off is that while it says UnitBirth.Zergling2Burrowed on the left, when selected, on the right it just says Unit Birth, ANY, ANY. Instead of something like Unit Birth, Zergling Copy(Burrowed), ANY.
Don`t know how many hours I`ve been sitting scratching my head now but I don`t understand how I am supposed to create several different Zerglings for my map.
When I duplicate or copy from Zerglings they all appear in the actors list of the original Burrowed Zergling - I have made new abilities and put the right unit into the info field on both abilites. I am getting a warning up that I am using more than one actor for the burrowed Zergling when I put them both on the map.
How can I remove actors from the original burrowed Zergling?
The burrowed Zergling does not even have a actor. (atlest not listed)
@Azizh: Go This thread appears to be a continuation of this other one: Previous Thread
I will try to explain it better this time, and I realize now that something subtle may be going wrong.
Burrowed zerglings use the same actor as their unburrowed counterparts. This makes sense because a unit actor is just the thing in charge of the how the unit's model should be behaving during the game, and burrowing just results in the model applying the burrow attribute to its animations. This isn't always how things are set up with other morph abilities, but it is how burrow tends to be set up by Blizz.
When you duplicated the zergling unit and actor and what not it does not automatically set up the proper behavior of the new actor with respect to burrowing. In the Events for the new zergling actor it likely has lines that still reference the original burrow ability and the original burrowed zergling unit. These should be changed to the new burrow ability and the new burrowed unit.
So whats going on here?
The Events for an actor controls how the actor responds whenever something happens in the game. One example is unit creation. When a unit is birthed in the game, the unit does not automatically create its corresponding unit actor. In a weird feat of pulling-itself-up-by-its-bootstraps it is infact the unit actor(say a zergling) typically which creates itself in response to a unit of that type is birthed event. So to understand what may be happening first understand that the original zergling actor is set up to create itself in response to an original BURROWED zergling being created(it also creates itself whenever an unburrowed zergling is created). Now when you duplicate the zergling unit and actor the duplicator understands that you want the duplicate zergling to create itself whenever a duplicate-type zergling unit is birthed and not whenever an original-type zergling unit is. However the duplicator does not understand the same thing about how things should work for the burrowed zergling, at least not properly. It is not entirely sure who it should refer to, since it can only guess as to the name of the new burrowed unit. When I do it in the editor it automatically sets things up so that the new zergling actor will create itself whenever a unit called Zergling2Burrowed is born. This would all be fine and good if the guess happened to be correct and there is such a unit type which exists. Hilariously enough however, when you duplicate the burrowed version of the zergling unit you end up with a unit type called ZerglingBurrowed2 by default. OOPS, LOL BLIZZ YOU SO SILLY.
I don't really know what happens in this case if there is no unit-type by the name Zergling2Burrowed. I would guess that the event would either now happen when ANY unit is birthed, or it would never happen. The fact that you are getting multiple actors persisting suggests to me that it is the former.
Anyways enough on speculating about what is going wrong. What you need to do is manually go through the events for your actors and make sure they make sense. There should be no references to the original zergling unit or abilities, and you will need to make sure that it doesn't reference fictitious things that it incorrectly guessed the name of.
Good luck =) Please don't make a new thread and just post in here if you still can't get it to work.
My guess is that what eluded you the first time is just the ridiculous fictitious name issue, and understandably so. I would probably stare at Zergling2Burrowed for hours and not realize it was different from the ZerglingBurrowed2 that I really had. However what would tip me off is that while it says UnitBirth.Zergling2Burrowed on the left, when selected, on the right it just says Unit Birth, ANY, ANY. Instead of something like Unit Birth, Zergling Copy(Burrowed), ANY.