Difference between revisions of "GetThreatRatio"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Scornett-Bot
m (Script running global find and replace: = for '''=)
 
imported>Egocarib
Line 13: Line 13:


==Notes==
==Notes==
*None.
*Threat ratio is higher when the player is "stronger" than nearby enemies. The game uses this to determine when combat music should be played (if the enemies are strong enough compared to the player to drop the threat ratio below fCombatMusicPlayerTargetedThreatRatio). An exhaustive description of how ThreatRatio works can be found [http://www.nexusmods.com/skyrim/mods/20926 here].


==See Also==
==See Also==

Revision as of 10:46, 23 April 2014

Description

GetThreatRatio returns the calculated threat ratio between two specified actors.

Syntax

ActorRef.GetThreatRatio ActorRef

Examples

ActorRef.GetThreatRatio Player

Function returns the threat ratio between ActorRef and the Player.

Notes

  • Threat ratio is higher when the player is "stronger" than nearby enemies. The game uses this to determine when combat music should be played (if the enemies are strong enough compared to the player to drop the threat ratio below fCombatMusicPlayerTargetedThreatRatio). An exhaustive description of how ThreatRatio works can be found here.

See Also