COG Keyword - return

Return code execution back to the caller. In a message handler, a return will move the execution back to the game engine (which was the caller of the handler). The statements after a return will not be executed.

Syntax:

startup:
   // run code
   return;
  • Create:
This page was last modified 23:25, 25 August 2008.   This page has been accessed 883 times.