This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:setobjactive [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:setobjactive [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
< | < | ||
+ | |||
+ | <WRAP tabs> | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | </ | ||
====== SetObjActive ====== | ====== SetObjActive ====== | ||
- | SetObjPosition(<-Unit " | + | SetObjActive(<-Unit " |
===== Description ===== | ===== Description ===== | ||
Sets the active state of the obj. | 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 [[4rpl: | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> |