Jump to content

a script to detect sneaking?


stars2heaven

Recommended Posts

I'm trying to create a scenario where the PC must be sneaking or will be killed. I've been looking for a function that will detect whether the player is sneaking or not but I can't seem to find one. Maybe I'm not looking in the right place? Is there a way for me to make a script that detects whether the player is sneaking?
Link to comment
Share on other sites

The function IsSneaking will return 1 if the actor is sneaking. So:

 


If Player.IsSneaking == 1
  	.....
EndIF

Link to comment
Share on other sites

  • Recently Browsing   0 members

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