Jump to content

Sneaking or not Sneaking


dkraz3175

Recommended Posts

I'm trying to create an ability with a constant effect that is only applied when my character is sneaking. I know I can make a perk with the "apply sneaking spell" entry point, but once my character starts to sneak, the spell is always active.

 

I'm extremely new to scripting with papyrus (or scripting in general) but I've looked for any event that would look for my character to start sneaking and found none. I've looked for the "on animation" event but have no idea what animation to point it to as there are a number of sneaking animations. I've tried the "IsSneaking" function but that doesn't seem to work, and I've tried to define a "state" as sneaking but that was a dead end.

 

Any help with this would be greatly appreciated

Link to comment
Share on other sites

add an issneaking check to the spell.

 

No need to use perks, the sneaking spell perk entry point is for spells that cast once at the start of each sneak, like the shadow warrior perk.

This was the FIRST thing I tried a week ago and it didn't work the way I wanted it to.

 

Now it works! I must have left the "FX Persist" and the "hide in UI" boxes checked before because the shader stayed on and the ability was never listed in the active effects screen.

 

Now it works as intended. Thank you so much! To think I spent a week looking to do the simplest task in the most complicated way.

Edited by dkraz3175
Link to comment
Share on other sites

  • Recently Browsing   0 members

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