Support register for enemy script.