Mod:Creation Kit/IsHostileToActor - Actor

Member of: Mod:Creation Kit/Actor Script

Check if this actor is hostile to another actor

Syntax
bool Function IsHostileToActor(Actor akActor) native

Parameters

 * akActor: The actor to check if we're hostile to

Return Value
True if we're hostile to the actor, false if we're not

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