TES3CS Docs
Search
Search
Dark mode
Light mode
Explorer
Getting Started
Preferences
System Requirements
Tutorials
Dungeon Tutorial
Landscape Tutorial
Data Files
Data Files Example
Data Files Window
Building and Editing
World
Exterior Cell
Interior Cell
Naming Cells
Regions
Water Layer
World Testing
Main Editing Windows
The Cell View Window
The Object Window
The Preview Window
The Render Window
Landscape
Landscape Shaping
Landscape Texturing
Objects
Object Types
Activator
Alchemy
Apparatus
Armor
Body Part
Book
Clothing
Container
Creature
Door
Enchanting
Ingredient
Leveled Creature
Leveled Item
Light
Lockpick
Misc Items
NPC
Probe
Repair Item
Spellmaking
Static
Weapon
Reference Data
Infinite Inventory Items
Ownership
Character Body Layout
Weapon Types
Actors
Character
Auto Calculate Stats
Birthsign
Class
Factions
Infinite Inventory Items
NPC
Race
Skills
Creature
Leveled Creature
Dialogue
Dialogue Functions
Dialogue Variables
FriendHit
Quest Title
Text Defines
AI
Disposition
Packages
Activate
Escort
Follow
Travel
Wander
Settings
Alarm
Fight
Flee
Hello
Animation
Animation Groups
Animation Sound
Base Character Animation
Gameplay
Scripting
Commands
Begin
Declaring Variables
End
Functions
Activate
CellUpdate
ChangeWeather
GetAngle
GetCurrentPackage
GetEffect
GetPlayerDistance
GetPos
GetSecondsPassed
GetStartingAngle
GetStartingPos
LoopGroup
MenuMode
MessageBox
ModRegion
Moon Phases
MoveWorld
Move
OnActivate
PCRace
PlaceAtPC
PlayGroup
PositionCell
Position
Random
RemoveEffects
RotateWorld
Rotate
ScriptRunning
SkipAnim
StartScript
Stat Script Functions
StopScript
UsedOnMe
Global Scripts
Inventory Scripts
Magic Effects List
Object Referencing
Sample Script
Start Scripts
Using Variables in Functions
Game Settings
Gameplay Settings
Magic
Appendix
Home
❯
Gameplay
❯
Scripting
❯
Commands
❯
End
End
Sep 21, 2024
1 min read
end
ScriptName
The end command is placed at the end of a script.
Explorer
Getting Started
Preferences
System Requirements
Tutorials
Dungeon Tutorial
Landscape Tutorial
Data Files
Data Files Example
Data Files Window
Building and Editing
World
Exterior Cell
Interior Cell
Naming Cells
Regions
Water Layer
World Testing
Main Editing Windows
The Cell View Window
The Object Window
The Preview Window
The Render Window
Landscape
Landscape Shaping
Landscape Texturing
Objects
Object Types
Activator
Alchemy
Apparatus
Armor
Body Part
Book
Clothing
Container
Creature
Door
Enchanting
Ingredient
Leveled Creature
Leveled Item
Light
Lockpick
Misc Items
NPC
Probe
Repair Item
Spellmaking
Static
Weapon
Reference Data
Infinite Inventory Items
Ownership
Character Body Layout
Weapon Types
Actors
Character
Auto Calculate Stats
Birthsign
Class
Factions
Infinite Inventory Items
NPC
Race
Skills
Creature
Leveled Creature
Dialogue
Dialogue Functions
Dialogue Variables
FriendHit
Quest Title
Text Defines
AI
Disposition
Packages
Activate
Escort
Follow
Travel
Wander
Settings
Alarm
Fight
Flee
Hello
Animation
Animation Groups
Animation Sound
Base Character Animation
Gameplay
Scripting
Commands
Begin
Declaring Variables
End
Functions
Activate
CellUpdate
ChangeWeather
GetAngle
GetCurrentPackage
GetEffect
GetPlayerDistance
GetPos
GetSecondsPassed
GetStartingAngle
GetStartingPos
LoopGroup
MenuMode
MessageBox
ModRegion
Moon Phases
MoveWorld
Move
OnActivate
PCRace
PlaceAtPC
PlayGroup
PositionCell
Position
Random
RemoveEffects
RotateWorld
Rotate
ScriptRunning
SkipAnim
StartScript
Stat Script Functions
StopScript
UsedOnMe
Global Scripts
Inventory Scripts
Magic Effects List
Object Referencing
Sample Script
Start Scripts
Using Variables in Functions
Game Settings
Gameplay Settings
Magic
Appendix
Graph View
Backlinks
Commands