Difference between revisions of "IsWarningAbout"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
(Functionality verified via reverse-engineering, but there are still some unknowns.)
 
Line 1: Line 1:
This function takes a single [[FormList]] parameter. It returns 1 if all of the following are true, or 0 otherwise:


* It is being run on an actor.
* That actor's current [[Guard (Procedure)|"guard" AI procedure]] is directing them to warn the condition parameter not to trespass into a restricted area.
Further reverse-engineering is needed to know how the condition parameter is used (e.g. whether it's a list of ActorBases, placed Actor refs, Factions, or something else).


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

Latest revision as of 16:02, 12 May 2024

This function takes a single FormList parameter. It returns 1 if all of the following are true, or 0 otherwise:

  • It is being run on an actor.
  • That actor's current "guard" AI procedure is directing them to warn the condition parameter not to trespass into a restricted area.

Further reverse-engineering is needed to know how the condition parameter is used (e.g. whether it's a list of ActorBases, placed Actor refs, Factions, or something else).