Skip to content

A Papyrus library providing optimized functionality for The Elder Scrolls V: Skyrim Special Edition.

License

Notifications You must be signed in to change notification settings

r-neal-kelly/doticu_skypal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doticu-skypal

A Papyrus library providing optimized functionality for The Elder Scrolls V: Skyrim Special Edition.

User and Developer Requirements:

skypal_references:

  • getters, filters, sorters

Examples:

    Scriptname MyQuest extends Quest

    ObjectReference property player auto

    function MyFunc()
        ; Get all refs currently in the cell grid around the player
        ObjectReference[] grid_refs = skypal_references.Grid()

        ; Filter out any refs that are 5000.0 or more units away from the player
        grid_refs = skypal_references.Filter_Distance(grid_refs, 5000.0, player, "<")

        ; Sort them from closest to farthest away from the player
        grid_refs = skypal_references.Sort_Distance(grid_refs, player, "<")
    endFunction

skypal_bases:

  • converters

Examples:

    Scriptname MyQuest extends Quest

    function MyFunc()
        ; Convert all references to their base forms, with no repeats
        Form[] bases = skypal_bases.From_References(skypal_references.Grid(), ".")
    endFunction

About

A Papyrus library providing optimized functionality for The Elder Scrolls V: Skyrim Special Edition.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published