you need to use iterate magazine effect and put desired effect in "effect internal+ " field, then u need to create persistent on ammo launch and make this iterate magazine periodic, so it will check if unit is internal or not. But it will be firing for every ammo unit inside, so u most likely need to apply behaviour on launch to make external ammo different from internal and then use validator for your desired effect which must be executed when ammo has returned to host. For detection the process of returning you can manualy return it with "return magazine" effect and fire some additional effect that you need in this moment.
you need to use iterate magazine effect and put desired effect in "effect internal+ " field, then u need to create persistent on ammo launch and make this iterate magazine periodic, so it will check if unit is internal or not. But it will be firing for every ammo unit inside, so u most likely need to apply behaviour on launch to make external ammo different from internal and then use validator for your desired effect which must be executed when ammo has returned to host. For detection the process of returning you can manualy return it with "return magazine" effect and fire some additional effect that you need in this moment.
Do you think this is possible to reliably "detect" in Data?
you need to use iterate magazine effect and put desired effect in "effect internal+ " field, then u need to create persistent on ammo launch and make this iterate magazine periodic, so it will check if unit is internal or not. But it will be firing for every ammo unit inside, so u most likely need to apply behaviour on launch to make external ammo different from internal and then use validator for your desired effect which must be executed when ammo has returned to host. For detection the process of returning you can manualy return it with "return magazine" effect and fire some additional effect that you need in this moment.
Very cool ideas, thanks.
When in the hangar they are known as the Hidden flag type so validators can check that just like items in inventories.
For the returning part just check their order queue for if they are using the Attack ability.
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