• Tutorials

  • Home
  • Unlock Door Spells

    When the party encounters a door locked by a spell, the engine must determine if the party has a spell memorized which will open the door.

    The Wall Editor provides a place to specify a Spell Name for each wall slot. The designer can put one of two things here:

    Search for Script

    All of the party's memorized spells.

    Return Value

    If the script returns a result starting with 'Y', then the door will open if the player selects “Use Spell”.

    Parameters

    Parameter [5] = the location of the party and the direction it is facing. The format is:

    level/x/y/dir

    Context

    $SpellContext()