This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getbuildunit [2021/03/08 20:14] – virgilw | 4rpl:commands:getbuildunit [2023/11/16 16:29] (current) – [Description] Kalli | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Description ===== | ===== Description ===== | ||
- | When building a unit, returns the string for the unit' | + | Returns |
+ | 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, " | ||
===== Examples ===== | ===== Examples ===== | ||
<code 4rpl> | <code 4rpl> |