MagiCats
Wiki home
Actions / Basic

Call Function

Calls an adventure function by name.

Advanced blockBlock ID 78CallFonction
Call Function code block in the MagiCats editor

What it does

Invokes a named function through the adventure code-call system.

Inputs

  • Function name text.

Try it

Call Function "OpenSecretRoom".

Tips

  • God-mode block. Use normal blocks first unless you are authoring adventure content.

Sources

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