Heya.
In my map there's something that changes your alliance with 'Player(9)' aka Player 10 in World Editor. I can change the alliance how I want; Making them act friendly to eachother without sharing vision and advanced control or anything. There's just one problem.
When I try to cast a healing spell like Healing Wave, Heal, Holy Light or whatsoever it says it can't target one of those player's units because they're "neutral". Does anyone know if it's possible to make them allied/friend or whatever. If they're Neutral it sucks because I will have to add neutral to every spell's target list and some 'neutral' units are supposed to be neutral.
Does anyone know of a SetPlayerAlliance command that can do this? Or maybe something else. As long as I don't have to 'live with it' and change the ability target lists.
This is what the map has:
In my map there's something that changes your alliance with 'Player(9)' aka Player 10 in World Editor. I can change the alliance how I want; Making them act friendly to eachother without sharing vision and advanced control or anything. There's just one problem.
When I try to cast a healing spell like Healing Wave, Heal, Holy Light or whatsoever it says it can't target one of those player's units because they're "neutral". Does anyone know if it's possible to make them allied/friend or whatever. If they're Neutral it sucks because I will have to add neutral to every spell's target list and some 'neutral' units are supposed to be neutral.
Does anyone know of a SetPlayerAlliance command that can do this? Or maybe something else. As long as I don't have to 'live with it' and change the ability target lists.
This is what the map has:
JASS:
call SetPlayerAlliance(Player(id),Player(9),ALLIANCE_PASSIVE,true)
call SetPlayerAlliance(Player(9),Player(id),ALLIANCE_PASSIVE,true)