• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Spell] possesion ability target problem

Status
Not open for further replies.
Level 3
Joined
May 12, 2010
Messages
35
I cant seem to make the banshes ability possesion target allied computer or friends no mather how I try to change its target in object editorn.
why doesnt it work? keeps getting the message "unable to target friendly unit"

specifically I want a ability to take over a unit which is a non enemy and then another ability to give back the unit and get back the unit I used to take over the unit.
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
Just use the Unit - Change Owner and a timer..

Use Channel ability as your based ability with the Targets Allowed - Ground,Air,Friend

Event - Unit Starts the effect of an ability

Condition - Ability being cast equal to (Possession (your ability))

Then

Set Unit X - Casting Unit
Set Unit Y - Target Unit of ability being cast
Unit - Change owner of Unit Y to the owner of Unit X
Remove Unit X from the game (this is optional, if you want the caster to be gone like banshee's possession)


You can use this in any means of owning a unit like banshee's possession ability.
 
Status
Not open for further replies.
Top