Lua SetModel

From ArcEmu-Wiki
Jump to: navigation, search

Description

Sets the Model ID of the Unit to a different Model ID (Display ID)


Example

function Example_Change(Unit, event)
 
Unit:SetModel(1337)
 
end

That Model is the Model of a Raptor, meaning that the Unit this Script is Registered to will turn into a raptor when that function is called.

Personal tools