GetFriendHit

From the CreationKit Wiki
Revision as of 11:38, 20 April 2024 by 69.151.113.192 (talk) (I added additional clarification that GetFriend hit is will trigger when the SUBJECT is hit not if the SUBJECT hits. You for sure could do some work to change it around with more conditions etc but by default when this condition is run on the Target the target will meet this condition once they are hit. This was not clear or stated in the wiki so I tested it in game quick as I needed to use this exact condition and then detailed how it worked.)
Jump to navigation Jump to search

Syntax:

[ActorID.]GetFriendHit TargetActor 

Example:

FriendlyGuard.GetFriendHit player 

Returns the number friendly hits from the TargetActor. Additionally, this means that if you use "GetFriendHit" as a condition attached to a spell given to a NPC, and the the Subject is the "target," then the spell in this example will trigger when the NPC with the spell is hit by a friendly.