Return

From the Oblivion ConstructionSet Wiki
Revision as of 09:19, 20 April 2006 by imported>Tegid (Clarified that returning does not perminently terminate the script)
Jump to navigation Jump to search

Syntax:

 return

Return is used to force the script to stop processing in the current frame. It does not JUST terminate the current block, it terminates the script for the rest of the frame. The script will be run again the next frame. This can be useful inside if statements where you want to prevent lines following the return from being processed.