Hey guys.
I think the problem is that its in a loop?
It does the changing into spiders, but does not change the ownership?
Please Help
I think the problem is that its in a loop?
It does the changing into spiders, but does not change the ownership?
Please Help
Code:
SPider convesion
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Spider Convertion
Actions
Unit Group - Pick every unit in (Units within 600.00 of (Position of (Triggering unit)) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is A Hero) Equal to False) and ((((Matching unit) is in UndeadRoyals) Equal to False) and (((Matching unit) is in Humanr and do (Actions)
Loop - Actions
Unit - Replace (Picked unit) with a Converted Spider using The old unit's relative life and mana
Unit - Change ownership of (Picked unit) to (Owner of (Casting unit)) and Change color