IsInFaction - Actor

From the CreationKit Wiki
Revision as of 16:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

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

Syntax[edit | edit source]

bool Function IsInFaction(Faction akFaction) native

Parameters[edit | edit source]

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]