Return

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Return is used to force a script to stop processing from that line on. It does not JUST terminate the current block, it terminates everything within that script that is placed below the line in which Return is called, including any blocks.

Syntax

[help]
Return

Notes

  • If the script uses a block that runs for multiple frames, such as GameMode, the script will be run again in the next frame. Return can be useful inside of If statements by allowing you to prevent the lines following the return from being processed.