Lua SetFaction

From ArcEmu-Wiki
Revision as of 14:16, 12 August 2012 by Magnifikator (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This command sets the units faction to the given number.

List of Faction IDs

Usage/Example

function FactionChange (pUnit, Event)
pUnit:SetFaction(35) -- This will set the unit's faction to 35, which is friendly to all.
end
Personal tools