SetPotentialThreat( <dir> )

Module: AI
SP Only


Set the potential threat direction. Potential threat direction is used in evaluating cover nodes.

In non-combat situations. This is mostly useful for friendlies.

Call this on:



self SetPotentialThreat( 90 );

Required Args:

  • 1 : <dir> direction of the threat. This is the angle from which the NPC should expect danger