IsHostileToActor - Actor
Revision as of 15:42, 21 August 2013 by imported>Cappy (moved IsHostileToActor- Actor to IsHostileToActor - Actor)
Member of: Actor Script
Check if this actor is hostile to another actor
Syntax[edit | edit source]
bool Function IsHostileToActor(Actor akActor) native
Parameters[edit | edit source]
- akActor: The actor to check if we're hostile to
Return Value[edit | edit source]
True if we're hostile to the actor, false if we're not
Examples[edit | edit source]
; Is the dragon hostile to the guard?
if Dragon.IsHostileToActor(Guard)
Debug.Trace("Dragon is hostile to the guard")
endIf