Difference between revisions of "GetCombatTargetHasKeyword"

From the CreationKit Wiki
Jump to navigation Jump to search
(Functionality verified via reverse-engineering.)
 
(One intermediate revision by the same user not shown)
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]]
* [[GetGroupMemberCount]]
* [[GetGroupTargetCount]]
* [[IsCombatTarget]]


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

Latest revision as of 12:19, 1 August 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[edit | edit source]