Difference between revisions of "IsHostileToActor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>SJML Bot
(Bot creating condition functions pages.)
 
imported>DavidJCobb
(disassembly)
 
Line 1: Line 1:
 
If both the run-on reference and the specified reference are actors, then this function returns 1 if the run-on actor is hostile to the specified actor, or 0 if they are not. If either reference is not an actor, then the return value is undefined.


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

Latest revision as of 04:00, 22 February 2021

If both the run-on reference and the specified reference are actors, then this function returns 1 if the run-on actor is hostile to the specified actor, or 0 if they are not. If either reference is not an actor, then the return value is undefined.