Scope Caching

version 1/111117 by Mike Ciul

  • Home page
  • Beginning
  • Previous
  • Next

  • Section: The Cache Scope Phrase

    If circumstances change during a turn and we need to check scope again, or if we want to check scope for something other than the player, we need to refresh the cache. We can do this with the "cache scope" phrase:

        Before Bob trying doing something:
            cache scope for Bob

    This will, of course, leave the "marked visible" property set for Bob, so if we need to check the player's scope again, we need to run the phrase an additional time.