voyagerdeltaflyer Posted September 24, 2021 Posted September 24, 2021 hi, I'm looking for a way to load scripts before or shortly after the game starts I once had a mod that you could call up a small round room with a chair and a door with console commands. There, the scripts loaded, and you could also test mods. Then you could go back into the game.
Guest Posted September 24, 2021 Posted September 24, 2021 There are various options. Scripts are loaded depending on where they are attached to. For example on actors the scripts are loaded as soon the actor is loaded and rendered the first time. For quests and ref aliases the script is loaded as soon the quest is running. If you want some script to run immediately, create a quest, make it starting at game start, add a ref alias, set it to the player, and implement the method OnPlayerLoadGame. The code will be executed as soon the game is loaded.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.