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 20:46] – [Description] Overhauled and improved description. Vertu | 4rpl:commands:getbuildunit [2025/08/13 15:45] (current) – [Description] kalli | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== 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): | ||
| + | |||
| + | While the Rift Lab has no unit type according to GetUnitType, | ||
| + | |||
| + | 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, " | ||