Jump to content

Recommended Posts

Posted

v0.988 has been post-eth-ed. Feeleth thou free to downloadeth at thine leisure.

 

The changeloggery:

Spoiler

Savegame compatible
Reminder: Note that logging output is all sent to <My Documents>\My Games\Skyrim Special Edition\SKSE\sl-triggers.log 
    (or whichever folder you have your SKSE logs directed to)
update: cursor_ref now in lang support
enhancement: added $request.core.cursor_ref: provides Form under cursor at time of script launch for any script
    differs from 'cursor_ref' which provides current Form under cursor
    useful to know exactly which Actor was being pointed at when the script was first called
    slightly faster than using cursor_ref but only useful when you want the original actor under crosshairs
enhancement: new Leash Framework bindings
    leash_getminleashlength
    leash_getmaxleashlength
    leash_setminleashlength
    leash_setmaxleashlength
enhancement: new commands
    sltr_get_scripts_list - returns the list of available SLTScripts
enhancement: new SLTScripts:
    RunScript - displays all available SLTScripts and allows you to select one to run
    LeashManager - uses Actor under crosshair to manage potential holder/wearer for executing leash commands
bugfix: form_doaction, objectreference_doaction, quest_doaction will no longer cause script execution to hang
enhancement: new system variable: $system.is_available.sexlabpp
    true if SexLabPP module is installed and functioning
update: $system.is_available.sexlab is true if either SexLab OR SexLabPP is installed and functioning
    use $system.is_available.sexlabpp to determine which version is explicitly installed if necessary

 

 

Splanations:

- $request.core.cursor_ref - just like the (still available) command 'cursor_ref', which obtains the object/actor currently under the crosshairs, $request.core.cursor_ref also does so, *but* will always return whatever object/actor was under the crosshairs at the time the script was triggered. It is also somewhat faster than using the cursor_ref command. In most cases I suspect you will prefer to use this. The reason to still perhaps want to use 'cursor_ref' is, for example, if you happen to have a long enough running script that the object/actor under the crosshairs may *change* and you *want* to know that. Also if you don't want to go back and change existing scripts, which I totally understand.

 

- the new Leash Framework bindings were made available and were an easy grab so I grabbed

 

- sltr_get_scripts_list - returns the list of currently available SLTScripts that you could run (i.e. shows the same list you see with the console command 'slt list'); I used this to power the RunScript script I added (you can thank @Fraying9981)

 

- LeashManager is now officially shipped *and* comes with a fix that will attempt to remove the leash from all leashed actors when you use the Unleash All function

 

- if you happened to have used form_doaction, objectreference_doaction, or quest_doaction (somewhat esoteric functions, I know) you probably have noticed by now that your scripts stopped being scripts and become doorstops; that's because there has been a LONG standing bug that I just fixed; my apologies and you're welcome

 

- $system.is_available.sexlabpp - returns true IFF SexLabPP is currently installed and operational; will return false if neither SexLab module was installed or if you only have base SexLab and not SexLabPP; you can use this to safely determine if you are on SexLab or SexLabPP in your script

 

- note that $system.is_available.sexlab will still return true if you are using SexLabPP

 

- note further that both $system.is_available.sexlab and $system.is_available.sexlabpp are based on both having the appropriate module installed for SLTriggers Redux *and* having the appropriate SexLab/SexLabPP mod installed; if for some reason you have SexLab/SexLabPP installed but installed SLTriggers Redux *without* choosing to install the relevant compatibility, both will return false

Posted (edited)

So I was looking for an immersive way to pillow talk: sleep with someone, and you they let you in on their secrets. The standard "Learn skill" scripts, however, were too random for my taste. When my PC sleeps with Faendal, she expects to learn about Archery. From Drevis, she might pick up an Illusion trick or two. So I vibecoded the script attached here. It runs across all NPC's in the event, finds the highest skill, and awards the PC 1 point in that skill.

 

SL Triggers Redux - Learn Highest Skill.7z

 

Caveat: the script runs quite slowly (52") if you don't apply the tweaks recommended in the OP.

 

Enjoy, and thank you, @hextun, for the mod!

Edited by orgs1n

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...