Difference between revisions of "GetCombatTargetHasKeyword"

From the CreationKit Wiki
Jump to navigation Jump to search
(Functionality verified via reverse-engineering.)
Line 6: Line 6:
* That actor is a member of a combat group.
* That actor is a member of a combat group.
* That combat group has at least one target whose base form includes a given [[keyword]].
* That combat group has at least one target whose base form includes a given [[keyword]].
== See Also ==
* [[GetCombatGroupMemberCount]]
* [[IsCombatTarget]]


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Revision as of 00:01, 31 July 2024

Every actor can be a member of a single combat group, which encompasses the actors that are fighting together as allies, and each combat group can have one or more combat targets.

This condition function returns 1 if the following criteria are met, or 0 otherwise:

  • The function is run on an actor.
  • That actor is a member of a combat group.
  • That combat group has at least one target whose base form includes a given keyword.

See Also