Hello everyone.
This is my first time asking help on the forums here, but there is something that I can't find a single tutorial of no matter how hard I try, so I thought I'd make a thread for it.
I'm trying to create a system whereby a parasitic creature can infect a host. The host should be controllable by the owner of the parasite, yet retain the colours of it's previous owner as well as not being auto-acquired by that player's units. The goal is to make the player whose units are being infected actively search for infected units while the player controlling the parasites tries to make the infected units behave as inconspicuous as possible.
Eventually the parasites in the hosts will burst free from the host in a larger, tougher form than they possessed before they infected a host to wreak havoc, but this ability will take time to charge. (Long cooldown, cooldown starts immediately as if ability had been used upon infection.)
The trouble is making the unit that's taken over to not be auto-acquired. I haven't been able to devise a trigger than can deal with that part. Taking over the unit and making it retain it's previous colours was easy, but making it so that it doesn't get attacked is difficult.
In short, the requirements for this ability:
-Target unit falls under the contol of the owner of the casting unit.
-Casting unit is removed upon casting the ability.
-Target unit retains the same appearance as before, including team colours.
-Target unit will not be treated as a hostile unit by units belonging to other players unless explicitly ordered to do so.
-Target unit will gain an ability (to trigger the maturation of the parasite) that the new owner can activate.
-The ability mentioned in the previous line needs to start it's cooldown immediately upon infection, or the unit needs to gain a mana supply that starts at 0 and is invisible to the player that originally owned the host.
Can anyone trigger this for me, or help me figure it out? Any help would be greatly appreciated.
This is my first time asking help on the forums here, but there is something that I can't find a single tutorial of no matter how hard I try, so I thought I'd make a thread for it.
I'm trying to create a system whereby a parasitic creature can infect a host. The host should be controllable by the owner of the parasite, yet retain the colours of it's previous owner as well as not being auto-acquired by that player's units. The goal is to make the player whose units are being infected actively search for infected units while the player controlling the parasites tries to make the infected units behave as inconspicuous as possible.
Eventually the parasites in the hosts will burst free from the host in a larger, tougher form than they possessed before they infected a host to wreak havoc, but this ability will take time to charge. (Long cooldown, cooldown starts immediately as if ability had been used upon infection.)
The trouble is making the unit that's taken over to not be auto-acquired. I haven't been able to devise a trigger than can deal with that part. Taking over the unit and making it retain it's previous colours was easy, but making it so that it doesn't get attacked is difficult.
In short, the requirements for this ability:
-Target unit falls under the contol of the owner of the casting unit.
-Casting unit is removed upon casting the ability.
-Target unit retains the same appearance as before, including team colours.
-Target unit will not be treated as a hostile unit by units belonging to other players unless explicitly ordered to do so.
-Target unit will gain an ability (to trigger the maturation of the parasite) that the new owner can activate.
-The ability mentioned in the previous line needs to start it's cooldown immediately upon infection, or the unit needs to gain a mana supply that starts at 0 and is invisible to the player that originally owned the host.
Can anyone trigger this for me, or help me figure it out? Any help would be greatly appreciated.