Jump to content

On Start and On Exit


bparty

Recommended Posts

Hi, I'm just wondering what the purpose of these 2 methods are?

 

I've written like 4 scripts so far and they work with just the on loop method, so I'm just curious as to what I'm supposed to put in these methods?

Think of onStart as preprocessing. It basically calls the logic once instead of repeatedly calling it like onLoop.

 

onExit is the same as onStart, but for when you exit the script. People mostly use it to leave a goodbye message.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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