And as I understand it, you're casting a unit during its turn in the UnitMove(unit) hook, right? Then, if the cast is successful, you just need this function to return not nil, and the game won't control that creature during that turn.
And as I understand it, you're casting a unit during its turn in the UnitMove(unit) hook, right? Then, if the cast is successful, you just need this function to return not nil, and the game won't control that creature during that turn.