Skyrim
0 of 0

File information

Last updated

Original upload

Created by

Dienes

Uploaded by

Dienes

Virus scan

Safe to use

About this mod

An SKSE plugin adding papyrus functions

Requirements
Permissions and credits
Donations
Description

This plugin is a collection of functions that I needed to be able to make mods I've got in the works fully functional or polish released mods. I figured they could be of use to others. I plan on adding to it as I need and if I'll consider requests if a modder needs something specific but I'm neither an expert at C++ or the innards of SKSE.



Requirements

SKSE 1.7.0 or newer.



Contents



Functions:

1.0

Function GetAllCOBJThatYieldForm(Form akForm, FormList akList) Global Native
; adds all COBJs that have akForm as their result to akList. Anything in akList will remain

ConstructibleObject Function TempCOBJ(ConstructibleObject akToCopy) Global Native
; returns a TempClone of akToCopy that lasts for the skyrim session. Should have all the same
; data as akToCopy but order my differ. Altering the clone should not alter akToCopy

Function ReplaceKYWD(Form akForm, Keyword akToReplace, Keyword akToAdd) Global Native
; If akForm has akToReplace directly on it (not attached through an alias or magic effect or the like)
; and does not have akToAdd directly on it then akToReplace will be swapped with akToAdd.
; Modifies the base Form. Lasts only a single skyrim game session.



Source:

My source and the visual studio 2008 project used to build the dll is included. Feel free to use code if it is helpful however please do not distribute your own version as that could lead to file conflicts and headaches for all involved.



Disclaimer

This is provided as is. I've made my best effort to ensure its correct but cannot but sure. Test that it doesn't burn your house down before releasing a mod that relies on it. Please report any bugs with as much detail as possible to replicate them and I will endeavor to fix them as soon as possible.



Credits

The SKSE team of course for making this possible but also for answering questions over many months as I cut my teeth on many levels of modding.

Zatar for his tutorial of writing an SKSE papyrus plugin as I'd never have bumbled my way through setting it up on my own.

CrumpMasterjc ported this to SSE: https://www.nexusmods.com/skyrimspecialedition/mods/31187