
Originally Posted by
McLovin

Originally Posted by
initrd.gz
*coughholoScaleUnitscough*
If that was fixed it would fuck up a lot of contraptions, but your more than welcome to fix it.
Errrr holoScaleUnits doesn't use the E2 toUnit functions...
Code:
e2function void holoScaleUnits(index, vector size)
local Holo = CheckIndex(self, index)
if not Holo then return end
local propsize = Holo.ent:OBBMaxs() - Holo.ent:OBBMins()
local x = size[1] / propsize.x
local y = size[2] / propsize.y
local z = size[3] / propsize.z
rescale(Holo, Vector(x, y, z))
end
Bookmarks