ShouldAttackKill

From the CreationKit Wiki
Revision as of 22:28, 15 November 2013 by imported>Mojo
Jump to navigation Jump to search

Checks to see if the incoming attack will kill the target.

Parameters

  • Target: The target of the attack.

Return Value

Returns 1 if the attack will kill the target.

Example

ShouldAttackKill used as a condition function in a perk to make all potentially lethal attacks on the Player deal no damage.

Shouldattackkill example.jpeg


Notes

  • Only works on physical attacks
  • Initial testing has shown that this function only works when run on the Player