Determine if player is in hostile area?

Post » Sun Mar 03, 2013 2:56 pm

I want to prevent the player from using a certain spell when enemies are nearby. How can I tell if the Player is in a potentially hostile area? InCombat is pretty obvious, but doesn't apply if the player is sneaking about in, say, a bandit camp and hasnt been discovered yet.
User avatar
Katie Pollard
 
Posts: 3460
Joined: Thu Nov 09, 2006 11:23 pm

Post » Sun Mar 03, 2013 4:55 pm

You can try using the wait function. If there are hostiles in the area you can't use it. If you can, you're probably safe.
User avatar
Jordyn Youngman
 
Posts: 3396
Joined: Thu Mar 01, 2007 7:54 am


Return to V - Skyrim