Relations

Papyrus - good to know

Persistence

Threading

States

Performance

Complexity

Critters are little animals which make your Skyrim to a living habitat. Moths, dragonflies, fireflies, bees and fishes need good working papyrus script files to spawn the critter objects, moving around and cleaning up all critters without any trouble. Since v5.5 my script improvements are very stabile and the result of two years papyrus learning, almost trial and error. If you like to see the script sources click | FORUM | above and use the threadview inside.[critterSpawn / critterSpawn01] activator placed in the world to spawn critters[critter] as parent script----------------------------------------------------------------| | | |[critterFish] [critterDragonFly] [critterMoth] [FireFly] are child scripts[DLC1CritterFollowSCRIPT] is a grand child script (in my version)(10 scripts) as replacement for vanilla scriptsIt should work for every Skyrim version also Skyrim SE. Keep in mind the cwMap modification does not work for Skyrim SE.Copy all these scripts into the folder "scripts" of your Skyrim installation. You don't have to start a new game.Best practice if you run my scripts on existing savegame for the first time then use fast travel to unload/removeolder script instances as fast as possible. Let me know whenever you'll get in trouble caused by the scripts.Go inside a house and wait here for 10 seconds. After that make a new savegame, close the game and remove all pex-files.Next time you run Skyrim use this savepoint to continue with your gameplay.1.- avoid long-running functions and minimize the using of properties like actor, objectReference2.- "If two objects want to operate on a third object, a race ensues. Which is killed by synchronization, allowing awesomeness to continue."3.- "name of the state to enter is not case-sensitive. If you want to go to the 'empty state', simply use" gotoState("").But be careful by comparing of state names with strings.4.- "Unlike most other languages, Papyrus has some special architectural choices that make performance sometimes non-intuitive."Keep in mind next was written for the game 'FallOut 4', which is a bit different to Skyrim papyrus scripting.5.- Joel Burgess wrote: "We wanted a complex scripted system, .. to culturally show the studio what wonderful things were possible.."6. 16bit string count limit - Skyrims save file format may responsible for savegames to become unloadable