GetGroupMemberCount

From the CreationKit Wiki
Revision as of 01:18, 23 February 2021 by imported>DavidJCobb (testing)
Jump to navigation Jump to search

This Condition Function has been marked as obsolete by Skyrim developers.[verification needed]

Returns the number of actors that are in the run-on actor's combat group — that is, the number of allies that are fighting with the actor. Returns 0 if the actor is not in combat, or if they are in combat but have no combat targets.

Once an actor is killed, they are removed from all combat groups. This means that while this function is usable for determining whether an actor is fighting without allies at their side, it is not useful for detecting whether an actor previously had allies who have since been killed.