MagiCats
Wiki home
Conditions / Basic

Can See

Checks whether one unit can see another.

Current editor blockBlock ID 59MathCondition
Can See code block in the MagiCats editor

What it does

Uses the watcher vision system and triggers a seeing feedback when it first spots the target.

Inputs

  • Watcher unit.
  • Dropdown: See or Do Not See.
  • Target unit.

Try it

If Enemy See Player, Follow Player.

Tips

  • This is the classic smart monster condition.

Sources

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