LuaBridge:Methods:Object:SetScale

From ArcEmu-Wiki
Jump to: navigation, search

Sets the new scale of the object. Depending on this new scale, it might change the size of the object ingame. The size is proportional to the scale.

Usage:

local function OnCombat( this, ...)
 this:SetScale( this:GetScale() * 2 ) -- double his size!
end

Back to Methods

Personal tools