MagiCats
Wiki home
Actions / Wizard

Look At Target

Aims the subject at a chosen target unit.

Current editor blockBlock ID 97LookAtTarget
Look At Target code block in the MagiCats editor

What it does

Finds the target object and turns the subject aim toward it.

Inputs

  • Target unit.

Try it

Look At Target Player, Frostball.

Tips

  • This is the simplest way to make smarter wizard traps.

Sources

Legacy pages reviewed: LookAtTarget

Code checked: MagiCats_UnityProject/Assets/Scripts/Blocks/ContentFonction.cs, MagiCats_UnityProject/Assets/Scripts/Blocks/BlockManager.cs