Background for Fallout 4
Member of the Actor script
boolfunctionIsHostileToActor(ActorakActor)Native

Description

Wiki Description

Check if this actor is hostile to another actor

Documentation Comment

Is this actor hostile to another actor?


Caveats


Parameters

ActorakActor

CK Wiki Description

The actor to check if we're hostile to


Examples

; Is the dragon hostile to the guard?
if Dragon.IsHostileToActor(Guard)
  Debug.Trace("Dragon is hostile to the guard")
endIf

Auto-Generated Example

Actor myActor__akActor

bool returnedValue = myActor__toCallFunctionOn.IsHostileToActor(myActor__akActor)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.