Jump to content

Return in function question


Recommended Posts

Return tells papyrus to exit the current function and go back to where it was. In your example, the papyrus thread running someOtherFunction() will exit that function and go back to someFunction(). Note, putting return at the end of a function is pointless. Its purpose is to exit a function or event early if criteria are not met.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...