On the map there are buildings placed that begin neutral. I want them to transfer ownership to anyone that builds something up next to them, and for them to be able to transfer ownership again if someone else happens to destroy that building and then build their own building next to it.
Right now, I'm able to give resources to the owner of anyone who makes that building next to it, but I cannot figure out how to get the modify unit effect to transfer the ownership.
Basically, just trying to do something like Xel'Naga towers but have it transfer actual ownership, rather than just interact. Any help?
There are two ways. One with buffs like neural parasite (look at wiki for right fields) and the other is with the Modify Unit effect. Just have a buff with periodic search that changes ownership and a second buff with an enumerate area validator that defaults the structure back to neutral.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I've changed the way I wanted to go about it, and I've decided to make it triggered by a behavior that fires as a fatal response, rather than due to construction.
Still, I can't figure out what settings go where to make the Modify Unit effect transfer ownership to the attacker. Is there a description anywhere of what values to modify in that effect?
Ok, I've got it now to where it transfer's ownership, but in the wrong direction. The unit that would be dealing the killing damage is transferred to ownership of the owner of the building, but I need the building to be transferred to the owner of the unit.
I've tried playing around with all the different options for launch, impact, and transfer unit, but haven't found a winning combination.
Try having the damage response applying a create persistent effect that on expiring uses the modify unit effect on the caster. Set the transfer unit value to source and the impact unit value to caster.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
So here's what I'm trying to do:
On the map there are buildings placed that begin neutral. I want them to transfer ownership to anyone that builds something up next to them, and for them to be able to transfer ownership again if someone else happens to destroy that building and then build their own building next to it.
Right now, I'm able to give resources to the owner of anyone who makes that building next to it, but I cannot figure out how to get the modify unit effect to transfer the ownership.
Basically, just trying to do something like Xel'Naga towers but have it transfer actual ownership, rather than just interact. Any help?
There are two ways. One with buffs like neural parasite (look at wiki for right fields) and the other is with the Modify Unit effect. Just have a buff with periodic search that changes ownership and a second buff with an enumerate area validator that defaults the structure back to neutral.
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
@DrSuperEvil: Go
I've changed the way I wanted to go about it, and I've decided to make it triggered by a behavior that fires as a fatal response, rather than due to construction.
Still, I can't figure out what settings go where to make the Modify Unit effect transfer ownership to the attacker. Is there a description anywhere of what values to modify in that effect?
I believe it is one of the flags, the one called Owner
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
@DrSuperEvil: Go
Ok, I've got it now to where it transfer's ownership, but in the wrong direction. The unit that would be dealing the killing damage is transferred to ownership of the owner of the building, but I need the building to be transferred to the owner of the unit.
I've tried playing around with all the different options for launch, impact, and transfer unit, but haven't found a winning combination.
Try having the damage response applying a create persistent effect that on expiring uses the modify unit effect on the caster. Set the transfer unit value to source and the impact unit value to caster.
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