~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetObjScale|Get]]
* [[4rpl:commands:SetObjScale|Set]]
====== SetObjScale ======
SetObjScale(<-Unit "ObjName" <-scale)
===== Description =====
Sets the X,Y,Z scale of a unit's object from the specified scale vector. Objects are the sub-parts that make up a unit.
The scale is relative to the object's parent. If the object is the root, then the scale is the units scale.
Note, use "" (empty string) to indicate the root level object.
===== Examples =====
SetObjScale(self "Arm" <-scale)
<=[[4rpl:start| Index]]