The MiscUtil script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like PapyrusUtil SE - Modders Scripting Utility Functions (PapyrusUtil).
For this script, the Papyrus index knows about:
- 18 functions
Inheritance Tree
No indexed scripts extend this script.
Properties
No properties found.
Events
No events found.
Functions
- Found in:
- PapyrusUtil
ObjectReference[]functionScanCellObjects(intformType, ObjectReferenceCenterOn, floatradius=0.0, KeywordHasKeyword=NONE)NativeGlobalScans the current cell of the given CenterOn for an object of the given form type ID within radius and returns an array for all that
and (optionally) also has the given keyword if changed from default none. Setting radius higher than 0.0 will restrict the
search distance from around CenterOn, 0.0 will search entire cell the object is in.
NOTE: Keyword searches seem a little unpredictable so be sure to test if your usage of it works before using the results.- Found in:
- PapyrusUtil
Actor[]functionScanCellNPCs(ObjectReferenceCenterOn, floatradius=0.0, KeywordHasKeyword=NONE, boolIgnoreDead=true)NativeGlobalScans the current cell of the given CenterOn for an actor within the given radius and returns an array for all actors that are
currently alive and (optionally) has the given keyword if changed from default none. Setting radius higher than 0.0 will restrict the
search distance from around CenterOn, 0.0 will search entire cell the object is in.
NOTE: Keyword searches seem a little unpredictable so be sure to test if your usage of it works before using the results.- Found in:
- PapyrusUtil
Actor[]functionScanCellNPCsByFaction(FactionFindFaction, ObjectReferenceCenterOn, floatradius=0.0, intminRank=0, intmaxRank=127, boolIgnoreDead=true)NativeGlobalSame as ScanCellNPCs(), however it filters the return by a given faction and (optionally) their rank in that faction.
- Found in:
- PapyrusUtil
Toggle freefly camera.
- Found in:
- PapyrusUtil
Set freefly cam speed.
- Found in:
- PapyrusUtil
Set current freefly cam state & set the speed if enabling
- Found in:
- PapyrusUtil
Get an array of files in a given parent directory that have the given extension.
directory is relative to the root Skyrim folder (where skyrim.exe is) and is non-recursive.
directory = "." to get all files in root Skyrim folder
directory = "data/meshes" to get all files in the /data/meshes folder
extension = ".nif" to get all .nif mesh files.
(default) extension="*" to get all files- Found in:
- PapyrusUtil
Get an array of folders in a given parent directory
Same rules and examples as above FilesInFolder apply to the directory rule here.- Found in:
- PapyrusUtil
Check if a given file exists relative to root Skyrim directory. Example: FileExists("data/meshes/example.nif")
- Found in:
- PapyrusUtil
Read string from file. Do not read large files!
- Found in:
- PapyrusUtil
boolfunctionWriteToFile(stringfileName, stringtext, boolappend=true, booltimestamp=false)NativeGlobalWrite string to file.
- Found in:
- PapyrusUtil
Print text to console.
- Found in:
- PapyrusUtil
Get race's editor ID.
- Found in:
- PapyrusUtil
Get race's editor ID.
- Found in:
- PapyrusUtil
Set HUD on / off - NOT CURRENT WORKING IN SKYRIM SPECIAL EDITION
- Found in:
- PapyrusUtil
floatfunctionGetNodeRotation(ObjectReferenceobj, stringnodeName, boolfirstPerson, introtationIndex)GlobalGet node rotation
REMOVED v2.9: Useless, only does a part of the job.
float function GetNodeRotation(ObjectReference obj, string nodeName, bool firstPerson, int rotationIndex) global native- Found in:
- PapyrusUtil
Bat console command.
REMOVED v2.9: Unused.
function ExecuteBat(string fileName) global native- Found in:
- PapyrusUtil
Actor[]functionScanCellActors(ObjectReferenceCenterOn, floatradius=5000.0, KeywordHasKeyword=NONE)GlobalLEGACY v3.3 - Added Ignoredead parameter to function, aliased for backwards compatability with v3.2.
