SetObjectScalePermanent

Description

Modifies the object size in the X, Y, and Z directions. This modifies the object's vertices which makes this a permanent change, and is slower than SetObjectScale. This command does not read or affect the values set with SetObjectScale so using SetObjectScale(ID,2,2,2) and then setting a permanent scale of 3,3,3 would still draw the object 2 times bigger than normal, which means 6 times bigger than when you started. This command does not affect any child objects that may have been loaded with it, nor any objects attached to it with FixObjectToObject. This command will work on bone animated objects as long as the scale is uniform, i.e. the X, Y, and Z scale values are all the same.

Definition

SetObjectScalePermanent( objID, x, y, z )

Parameters