I can't seem to replicate the issue, but for some reason, the original Zergling, not the duplicated one, will occasionally switch it's name to the name of the duplicated one, 'Raptor'. I'm not sure what causes it or why it occurs, but it always likes to do it when I don't want it to. Is this a documented issue? How would I fix this?
without some form of when this is happening, we can't really aid you in any direction, when you say switch its name, do you mean you build a zergling and it will be called a raptor (or vica versa) or the one unit you have on the map as a zergling will sometimes randomly be called a raptor when selected?
I apologize for my inspecificness(Is that a word?)
What I mean to say is that, starting in the data editor, the units name will sometimes change to the duplicated units name. Say, perhaps, I save and the units name is normal. I close the editor, and open it, and suddenly the units name is the duplicated name instead of the normal one, in the editor and in game, for all instances of the unit.
If I change it to what it should be, the process repeats. It does not change back to what it should on it's own.
So,
I rename a duplicated Zergling as Raptor.
The Raptor works fine.
At occasional intervals, the Zergling will change it's name to Raptor, globally, including it renaming itself as Raptor in the Name field of the unit.
In the unit there should be an element which is labeled like "name" and it should open a window with 2 text fields: a path and a name.
I guess that both units accidentally got the same path and rewriting one name will change the other name, too.
I've experienced that problem before, but I'm not sure if I got that with duplicating a unit.
So check that field in both units and try to reset the element, if the path is wrong. You have to right click it and choose reset and select the first option.
That should fix it.
If not, try to set a new path which would be correct for the unit.
Actors should have nothing to do with the name of a unit because actors only use the ID of the unit (unit's internal name which is unique).
I thought maybe you had the solution, but I opened up the Name parameter and the path for both of them is unique, so I'm not sure how that would be it. As well, despite the fact that the Zergling unit is renamed as Raptor, it shows up in the list when I search Zergling, but not the real Raptor.
There's also something rather strange, I think. For some reason, even if I change the name to what it should be and everything else, if I right click any of the values in the default Zergling unit and try to set it to the 'Parent Value', the Parent Value is labeled as 'Raptor'.
Update: I think I've managed to replicate the issue. Let me know if anyone gets the same issue:
Right click a unit, click duplicate. Duplicate the Unit and the Actor. Nothing else.
Change the name and name ID to whatever you want to for both the duplicated unit and the duplicated actor, and if my test is correct, the original units name should change to the duplicated one.
Is there any way to prevent this, or if so, what is the cause? It seems to recur.
I can't seem to replicate the issue, but for some reason, the original Zergling, not the duplicated one, will occasionally switch it's name to the name of the duplicated one, 'Raptor'. I'm not sure what causes it or why it occurs, but it always likes to do it when I don't want it to. Is this a documented issue? How would I fix this?
without some form of when this is happening, we can't really aid you in any direction, when you say switch its name, do you mean you build a zergling and it will be called a raptor (or vica versa) or the one unit you have on the map as a zergling will sometimes randomly be called a raptor when selected?
I apologize for my inspecificness(Is that a word?)
What I mean to say is that, starting in the data editor, the units name will sometimes change to the duplicated units name. Say, perhaps, I save and the units name is normal. I close the editor, and open it, and suddenly the units name is the duplicated name instead of the normal one, in the editor and in game, for all instances of the unit.
If I change it to what it should be, the process repeats. It does not change back to what it should on it's own.
So,
I rename a duplicated Zergling as Raptor. The Raptor works fine. At occasional intervals, the Zergling will change it's name to Raptor, globally, including it renaming itself as Raptor in the Name field of the unit.
Only thing i can think of is some connection via actors. Nothing else seems possible
In the unit there should be an element which is labeled like "name" and it should open a window with 2 text fields: a path and a name.
I guess that both units accidentally got the same path and rewriting one name will change the other name, too.
I've experienced that problem before, but I'm not sure if I got that with duplicating a unit.
So check that field in both units and try to reset the element, if the path is wrong. You have to right click it and choose reset and select the first option.
That should fix it.
If not, try to set a new path which would be correct for the unit.
Actors should have nothing to do with the name of a unit because actors only use the ID of the unit (unit's internal name which is unique).
Thanks for the responses, guys.
I thought maybe you had the solution, but I opened up the Name parameter and the path for both of them is unique, so I'm not sure how that would be it. As well, despite the fact that the Zergling unit is renamed as Raptor, it shows up in the list when I search Zergling, but not the real Raptor.
There's also something rather strange, I think. For some reason, even if I change the name to what it should be and everything else, if I right click any of the values in the default Zergling unit and try to set it to the 'Parent Value', the Parent Value is labeled as 'Raptor'.
What???
Go to Unit - Name and check if the Text Key is the same.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Thanks for the reply, Evil. =) We already checked that, but I checked again anyway any the Text key is indeed not the same.
Update: I think I've managed to replicate the issue. Let me know if anyone gets the same issue:
Right click a unit, click duplicate. Duplicate the Unit and the Actor. Nothing else. Change the name and name ID to whatever you want to for both the duplicated unit and the duplicated actor, and if my test is correct, the original units name should change to the duplicated one. Is there any way to prevent this, or if so, what is the cause? It seems to recur.
Bump. Can anyone else confirm this or figure out what I'm doing wrong here?
http://www.sc2mapster.com/forums/development/data/23354-fixed-rageling-default-glitch-wtf/
I had that same problem, ironically enough, with a zergling.
Weird. I don't know why, but just opening the Text Editor fixed it.
Well then! Moving onto new features...lol Thanks so much for all of your help, guys. =)