Difference between revisions of "ScriptEnd"
From Amulets & Armor Wiki
PeeWeeRotA (Talk | contribs) (Created page with "End( ) Ends execution in the current script. '''Note:''' If the current script was loaded to an execution stack, it will be popped and return to the previous script. Since ...") |
PeeWeeRotA (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | End( ) | + | '''End( )''' |
Ends execution in the current script. | Ends execution in the current script. |
Revision as of 14:36, 5 March 2014
End( )
Ends execution in the current script.
Note: If the current script was loaded to an execution stack, it will be popped and return to the previous script.
Since the End command ends execution, it does not require a semicolon to end the statement. It is common practice in the sample materials, provided with the ScriptCompiler project, not to place semicolons after end statements.
Example
40: // raise exit floor ChangeSideTexture(1372,"SWIT1U"); AreaSound(6007,-2528,110,300,255); SlideFloorNice(114, -400, -64, 100, -1); End()