IsInFaction - Actor

Member of: Actor Script

Returns whether this actor is a member of the specified faction or not.

SyntaxEdit

bool Function IsInFaction(Faction akFaction) native

ParametersEdit

Return ValueEdit

Whether the actor is a member of the specified faction or not.

ExamplesEdit

; Is the guard in the rift faction?
if Guard.IsInFaction(RiftFaction)
  Debug.Trace("Guard is in the rift faction")
endIf

See AlsoEdit