User Tools

Site Tools


4rpl:commands:setobjactive

Index

SetObjActive

SetObjActive(<-Unit “ObjName” <-isActive)

Description

Sets the active state of the obj.

:WARNING: 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).

Examples

SetObjActive(self "Arm" true)

Index

4rpl/commands/setobjactive.txt · Last modified: 2024/01/01 21:16 by Vertu