Map Draw Blocker

Map Draw Blocker

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

Moderator: Moderators

Post Reply
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Map Draw Blocker

Post by SirMaverick »

Widget that will block map draws if a player draws too much (lines and pointers).

Download
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Map Draw Blocker

Post by Regret »

Widget? How does that work?
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Map Draw Blocker

Post by SirMaverick »

Regret wrote:Widget? How does that work?
Depending on the return value of the MapDrawCmd() call-in the draw command is executed or not. For documentation see spring source code.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Map Draw Blocker

Post by Jazcash »

What's the command to hide all labels and drawings?
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Map Draw Blocker

Post by SirMaverick »

JAZCASH wrote:What's the command to hide all labels and drawings?
/mapmarks
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Map Draw Blocker

Post by Jazcash »

SirMaverick wrote:
JAZCASH wrote:What's the command to hide all labels and drawings?
/mapmarks
Cheers.
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Map Draw Blocker

Post by MidKnight »

JAZCASH wrote:
SirMaverick wrote:
JAZCASH wrote:What's the command to hide all labels and drawings?
/mapmarks
Cheers.
This post confuses me.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Map Draw Blocker

Post by Forboding Angel »

MidKnight wrote: This post confuses me.
/mapmarks 0

Give it a try MK, it does exactly what you might guess.
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Map Draw Blocker

Post by MidKnight »

Forboding Angel wrote:
MidKnight wrote: This post confuses me.
/mapmarks 0

Give it a try MK, it does exactly what you might guess.
Yeah, but why did Jazcash respond with 'Cheers?'
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Map Draw Blocker

Post by Tribulex »

MidKnight wrote:
Forboding Angel wrote:
MidKnight wrote: This post confuses me.
/mapmarks 0

Give it a try MK, it does exactly what you might guess.
Yeah, but why did Jazcash respond with 'Cheers?'
he doesnt read the posts just the topic titles.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Map Draw Blocker

Post by Jazcash »

MidKnight wrote:
Forboding Angel wrote:
MidKnight wrote: This post confuses me.
/mapmarks 0

Give it a try MK, it does exactly what you might guess.
Yeah, but why did Jazcash respond with 'Cheers?'
"Cheers" means "Thanks".
Post Reply

Return to “Lua Scripts”