GetThreatRatio
Revision as of 10:46, 23 April 2014 by imported>Egocarib
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.