I want to have a create unit effect that spawns a neutral unit whenever a unit with a certain behavior dies. I've figured out how to trigger the create effect from the behavior, but how can I create the unit for player 0 if there are no absolute values in the effect field "Spawn Owner - Value"? Should I just make the unit for the dead unit's owner then run a change owner effect on the created unit?
I want to have a create unit effect that spawns a neutral unit whenever a unit with a certain behavior dies. I've figured out how to trigger the create effect from the behavior, but how can I create the unit for player 0 if there are no absolute values in the effect field "Spawn Owner - Value"? Should I just make the unit for the dead unit's owner then run a change owner effect on the created unit?
Try setting the Unit - Spawn Owner - Value to Neutral Player. Any thing set to neutral player is automatically player 0.
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
Guess I should have thought about that. XD Thanks.