deltanedas / rtfm

A documentation library mod for Mindustry.
GNU General Public License v3.0
78 stars 20 forks source link

radar sort property is missing and wrong order #24

Closed Bergiu closed 2 years ago

Bergiu commented 2 years ago

the radar command has a property called sort which is missing and the parameters are in the wrong order. values of the sort property can be: distance, health, shield, armor or maxHealth.

GUI: 2021-11-09_01-29

The above block in code is the following: radar enemy any any distance turret1 1 result

This is the current documentation: 2021-11-09_01-29_1

The documentation should look like this: radar TargetType prop1, prop2, prop3, SortType sort, Ranged turret, Val output