The search couldn't help me. In Island Defense 2 I use a model swap to switch the sentry with the dark sentry when a certain upgrade is completed with these actor events - and it works fine.
Upgrade.XXX.Add
Model Swap Dark Sentry
In another map I do the same, but this time with the zergling and the raptor strain - it doesn't work though. I also use an actor event for units that are not already made this time, since the Sentry is a hero unit and you will never get the upgrade without the Sentry already being there - but for the zerglings this is not the case.
ActorCreation
-> Validate Raptor Strain
Model Swap Raptorling
And this works - just not the swap on upgrade. I don't get it. Especially since it works fine on the other map and it seems to work for all the original blizzard actors.
So in short - when I get the upgrade, zerglings that are already on the map do not get their model swapped despite the actor event - newly trained ones have the new model.
Typical case of GalaxyEditor.png or am I doing something wrong?
Okay, I've been trying around for hours and I can't seem to find the issue. The sentry has nothing special about it and I can't remember adding anything to make the model swap work in particular. Yet it works for the Sentry but not for my zerglings (and by now also roaches - same issue).
One is when the upgrade is completed it swaps while the other id a when created if upgrade is researched then the requirement is trie and so is the validator the term uses.
I found the issue. You need to set the units affected in the upgrade in the "Affected Units Array" otherwise the actor doesn't get the Upgrade.xxx.Add message.
I forgot that this field in the upgrade actually had a purpose.
The search couldn't help me. In Island Defense 2 I use a model swap to switch the sentry with the dark sentry when a certain upgrade is completed with these actor events - and it works fine.
Upgrade.XXX.Add
Model Swap Dark Sentry
In another map I do the same, but this time with the zergling and the raptor strain - it doesn't work though. I also use an actor event for units that are not already made this time, since the Sentry is a hero unit and you will never get the upgrade without the Sentry already being there - but for the zerglings this is not the case.
ActorCreation
-> Validate Raptor Strain
Model Swap Raptorling
And this works - just not the swap on upgrade. I don't get it. Especially since it works fine on the other map and it seems to work for all the original blizzard actors.
So in short - when I get the upgrade, zerglings that are already on the map do not get their model swapped despite the actor event - newly trained ones have the new model.
Typical case of GalaxyEditor.png or am I doing something wrong?
Okay, I've been trying around for hours and I can't seem to find the issue. The sentry has nothing special about it and I can't remember adding anything to make the model swap work in particular. Yet it works for the Sentry but not for my zerglings (and by now also roaches - same issue).
It is a typical two event upgrade.
One is when the upgrade is completed it swaps while the other id a when created if upgrade is researched then the requirement is trie and so is the validator the term uses.
There is nothing special about the models.
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
I found the issue. You need to set the units affected in the upgrade in the "Affected Units Array" otherwise the actor doesn't get the Upgrade.xxx.Add message.
I forgot that this field in the upgrade actually had a purpose.
So solved?
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
Yes.
I added a wiki entry for the upgrade event.
Your format need a little work.
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