Post edit history
Script: alert when ally is reclaiming other ally frames
Before | After | ||
---|---|---|---|
1 | [q]I don't know how to check if a unit order is "valid", that is whether the target is a frame and not a finished building [/q] | 1 | [q]I don't know how to check if a unit order is "valid", that is whether the target is a frame and not a finished building [/q] |
2 | [url=https://springrts. com/wiki/Lua_SyncedRead#GetUnitHealth]GetUnitHealth[/url] returns a buildprogress parameter. Anything below 1 is a nanoframe. | 2 | [url=https://springrts. com/wiki/Lua_SyncedRead#GetUnitHealth]GetUnitHealth[/url] returns a tuple which includes buildProgress. Anything below 1 is a nanoframe. |