I've been working on a collab project with a friend for a bit now, and we have a system for one player controlling another players units using an 'Interact' ability. It goes like this.
Zeratul spawns
Zeratul uses interact ability on Hatchery
Hatchery gains control over Zeratul
Zeratul blinks
Hatchery moves instantly to target location with the same range as zeratuls blink without actually possessing the ability 'blink', or having any triggers that would result in an effect like this.
So, my question is whether the 'share control' ability can lend abilities to units that shouldn't have them? Is that built in? Is there a way to prevent this?
Or is it not related to the interact ability, and is instead something entirely strange?
I don't know if you can share abilities a unit doesn't have, but you could always give the unit the ability with a behavior count validator. I'm not 100% sure I understand what you're trying to do, but my understanding is that you want unit 1 (Zeratul) to allow unit 2 (Hatchery) to blink. Is that correct? For this example you could give Zeratul an ability called "Share blink" that applies the behavior "Blink shared" on the hatchery. The hatchery then has the ability blink, with a validator (count behavior blink shared). Once you cast share blink on the hatchery, it can cast its own version of blink.
Unfortunately, you misunderstand. I want to prevent this from occuring. I've taken no purposeful steps to cause this phenomena to occur, but it does regardless. The CURRENT situation is that the hatchery somehow "uses" an ability that it does not possess. There are no effects that occur, and no actor is produced, but the hatchery is transported regardless. I DO NOT want this to occur.
Also, I'd recommend re-reading the original post more carefully.
Just letting you know, the way it is worded could make it sound like Soma thought. I thought that's what it was too.
Anyway, it might help if you try to recreate it in another map and post that.
If that's the case, I apologize. I assumed that the line asking for a way to prevent it from occurring would clarify and confusion. I can try and recreate the bug come tomorrow night, but until then I don't have a computer able to run the starcraft 2 editor, or starcraft 2.
What do you mean by "hatchery gains control over Zeratul"? Are you referring to the player that owns the hatchery? Is control referring to the ability to issue orders to the units (such as via allied control) or ownership (such as neural parasite or Nova's domination)? Or is the hatchery actually the owner of the unit (like carriers -> interceptors)?
Again, I apologize for the confusion. I've made no special efforts in creating a unique ability- the only effect under scrutiny here is the 'Share Control' flag under the 'Interact' ability. It is the same ability that the Xel'Naga Tower possesses.
Zeratul, owned by Player 2, casts the modified interact ability onto the hatchery, which is owned by Player 1. Player 1 thus gains control of Zeratul, which is still owned by Player 2. Player 1 orders Zeratul to use 'Blink' on a target location. The hatchery, which was originally targeted by Zeratul, and is owned by Player 1, moves with a range that would suggest that it is 'using' Zeratul's blink ability, despite the fact that no actors are created, and it does not possess this ability. I'm going to try and recreate the effect after I finish my homework for the day. College once again interferes with my timewasting. Curses.
Update: I got my computer back and caught up with homework... relatively. I've attached a map that I made in 5 minutes that demonstrates the phenomena.
I only added the 'Tower Capture Copy' ability, and gave it to Zeratul on an autocast of 500 range. I checked the 'Share control' flag.
I reproduced it easily... so- what's the verdict, interwebz?
well, i found something very interesting. Apparently the unit that the tower capture ability is used on, is the unit that will be blinked. I tried using the stalker blink ability but it didn't work either. You could try to make another blink or tower capture, but i honestly don't know what's going on.
If you use the Tower Capture ability on one of the Larva, and then have Zeratul use something like 'Baneling-Explode' both Zeratul and the Larva will die. Using it on the hatchery simply deals damage. I need to do more testing, but I think the damage dealt is equal to the amount of health that Zeratul has. Hmmm.
I'll try the Stalker Blink ability now, since you said it didn't work.
It didn't happen in my first attempts. Zeratul animated, didnt blink and the Hatchery didnt move. But then it started, I dont know if I did something specific to make it change, but the Hatchery started to blink. Congratz, you just found something... plain... broken. There's a map section/type around here to report things like that, I remember reading Zeldarule's post explaining it to a guy when the patch 1.4.? broke camera rotation.
I moved Zeratul and managed to make him cast the Interact ability on one larva, and the larva blinks! lol. Go on and try more abilities, this bug may have some interesting uses afterall.
I've been working on a collab project with a friend for a bit now, and we have a system for one player controlling another players units using an 'Interact' ability. It goes like this.
Zeratul spawns
Zeratul uses interact ability on Hatchery
Hatchery gains control over Zeratul
Zeratul blinks
Hatchery moves instantly to target location with the same range as zeratuls blink without actually possessing the ability 'blink', or having any triggers that would result in an effect like this.
So, my question is whether the 'share control' ability can lend abilities to units that shouldn't have them? Is that built in? Is there a way to prevent this? Or is it not related to the interact ability, and is instead something entirely strange?
Thank you for help.
@Zetal: Go
I don't know if you can share abilities a unit doesn't have, but you could always give the unit the ability with a behavior count validator. I'm not 100% sure I understand what you're trying to do, but my understanding is that you want unit 1 (Zeratul) to allow unit 2 (Hatchery) to blink. Is that correct? For this example you could give Zeratul an ability called "Share blink" that applies the behavior "Blink shared" on the hatchery. The hatchery then has the ability blink, with a validator (count behavior blink shared). Once you cast share blink on the hatchery, it can cast its own version of blink.
Unfortunately, you misunderstand. I want to prevent this from occuring. I've taken no purposeful steps to cause this phenomena to occur, but it does regardless. The CURRENT situation is that the hatchery somehow "uses" an ability that it does not possess. There are no effects that occur, and no actor is produced, but the hatchery is transported regardless. I DO NOT want this to occur.
Also, I'd recommend re-reading the original post more carefully.
Just letting you know, the way it is worded could make it sound like Soma thought. I thought that's what it was too. Anyway, it might help if you try to recreate it in another map and post that.
If that's the case, I apologize. I assumed that the line asking for a way to prevent it from occurring would clarify and confusion. I can try and recreate the bug come tomorrow night, but until then I don't have a computer able to run the starcraft 2 editor, or starcraft 2.
@Zetal: Go
What do you mean by "hatchery gains control over Zeratul"? Are you referring to the player that owns the hatchery? Is control referring to the ability to issue orders to the units (such as via allied control) or ownership (such as neural parasite or Nova's domination)? Or is the hatchery actually the owner of the unit (like carriers -> interceptors)?
@Zetal: Go
tell me how you did that lol... it sounds funny. and i could use a trigger like that
@Zetal: Go
@Soma2035: Go
Again, I apologize for the confusion. I've made no special efforts in creating a unique ability- the only effect under scrutiny here is the 'Share Control' flag under the 'Interact' ability. It is the same ability that the Xel'Naga Tower possesses.
Zeratul, owned by Player 2, casts the modified interact ability onto the hatchery, which is owned by Player 1. Player 1 thus gains control of Zeratul, which is still owned by Player 2. Player 1 orders Zeratul to use 'Blink' on a target location. The hatchery, which was originally targeted by Zeratul, and is owned by Player 1, moves with a range that would suggest that it is 'using' Zeratul's blink ability, despite the fact that no actors are created, and it does not possess this ability. I'm going to try and recreate the effect after I finish my homework for the day. College once again interferes with my timewasting. Curses.
Update: I got my computer back and caught up with homework... relatively. I've attached a map that I made in 5 minutes that demonstrates the phenomena. I only added the 'Tower Capture Copy' ability, and gave it to Zeratul on an autocast of 500 range. I checked the 'Share control' flag.
I reproduced it easily... so- what's the verdict, interwebz?
well, i found something very interesting. Apparently the unit that the tower capture ability is used on, is the unit that will be blinked. I tried using the stalker blink ability but it didn't work either. You could try to make another blink or tower capture, but i honestly don't know what's going on.
If you use the Tower Capture ability on one of the Larva, and then have Zeratul use something like 'Baneling-Explode' both Zeratul and the Larva will die. Using it on the hatchery simply deals damage. I need to do more testing, but I think the damage dealt is equal to the amount of health that Zeratul has. Hmmm.
I'll try the Stalker Blink ability now, since you said it didn't work.
It didn't happen in my first attempts. Zeratul animated, didnt blink and the Hatchery didnt move. But then it started, I dont know if I did something specific to make it change, but the Hatchery started to blink. Congratz, you just found something... plain... broken. There's a map section/type around here to report things like that, I remember reading Zeldarule's post explaining it to a guy when the patch 1.4.? broke camera rotation.
I moved Zeratul and managed to make him cast the Interact ability on one larva, and the larva blinks! lol. Go on and try more abilities, this bug may have some interesting uses afterall.
yea, quite an interesting thing u found there ^^