Difference between revisions of "GetCombatTargetHasKeyword"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
(Functionality verified via reverse-engineering.)
Line 1: Line 1:
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]].


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

Revision as of 23:59, 30 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.