Jump to content

Scripting help: "if" and "sneaking"


Ilike69alot

Recommended Posts

Not really sure exactly what you want, but if you want to cast a spell on yourself and you want that spell to stick only when you're sneaking and undetected, you could use a piece of script that goes something like

 

if player.issneaking && player.isactordetected == 0

;DO STUFF

endif

 

 

Link to comment
Share on other sites

Not really sure exactly what you want, but if you want to cast a spell on yourself and you want that spell to stick only when you're sneaking and undetected, you could use a piece of script that goes something like

 

if player.issneaking && player.isactordetected == 0

;DO STUFF

endif

ZOMGTYVM!!!!! That's what I was looking for. You just saved me hours of googling something I probably wouldn't find.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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