This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getbuildunit [2022/09/10 16:46] – [Description] Type fixed for the 3rd time (better description) Vertu | 4rpl:commands:getbuildunit [2023/11/16 16:29] (current) – [Description] Kalli | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Description ===== | ===== Description ===== | ||
Returns the [[4rpl: | Returns the [[4rpl: | ||
+ | |||
+ | This command does not use the same unit_types from getunitsbytype or getunits functions, but older names. List of unit types according to getbuildunit (case-sensitive): | ||
+ | |||
+ | Microrift with a lower case r for rift. | ||
+ | Reactor = miner. | ||
+ | SuperTower = pylon. | ||
+ | ERNInterface = ernportal. | ||
+ | DeliveryPad = porter. | ||
+ | Chronat = beacon. | ||
Example: When the player selects the Cannon from the weapons build tab, " | Example: When the player selects the Cannon from the weapons build tab, " |