This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:getbuildunit [2021/03/09 01:14] – virgilw | 4rpl:commands:getbuildunit [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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> |