Lua SetFaction

From ArcEmu-Wiki
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