⇐ Index
SetObjActive(<-Unit “ObjName” <-isActive)
Sets the active state of the obj.
Should the unit be under construction and is built while an object is inactive, that object will retain the unbuilt texturing and color. To prevent this, only set an object to be inactive after the unit is built. Until it is built, hide it via SetObjScale (by making it extremely small).
SetObjActive(self "Arm" true)
⇐ Index