move the movement code in IsSummonedBy() or Reset() of invader script, or use JustSummoned() in boss script