Draw filled circle on the ground

Draw filled circle on the ground

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Draw filled circle on the ground

Post by gajop »

Using DrawGroundCircle creates an empty circle on the ground, respecting height map. Using DrawGroundQuad creates a filled rectangle on the ground, respecting height map.

Is there any way to have DrawGroundCircle create a filled circle, much like it does while you're holding and dragging reclaim/attack/repair?
Attachments
drawing.jpg
(294.81 KiB) Downloaded 2 times
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Draw filled circle on the ground

Post by jK »

Post Reply

Return to “Lua Scripts”