Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local versionNumber = "v0.1"
- function widget:GetInfo()
- return {
- name = "Radar ID",
- desc = versionNumber .. " test",
- author = "Jseah",
- date = "24/05/12",
- license = "GNU GPL, v2 or later",
- layer = 0,
- enabled = true -- loaded by default?
- }
- end
- function widget:GameFrame()
- local units = Spring.GetAllUnits()
- for i, unitID in pairs(units) do
- local tooltip = Spring.GetUnitTooltip(unitID)
- Spring.Echo(tooltip)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment