Page 1 of 1

"Does Not Count" gadget

Posted: 04 Feb 2008, 19:31
by KDR_11k
This is a simple gadget that lets you mark a unit as "not counting" with a custom param, e.g.

Code: Select all

	[customParams] {
		dontCount=1;
	}
"Not counting" means that if only units that don't count are left on a team they will explode immediately. Useful for attaching to mines and other units that aren't going to help the player much if only they are left but prolong the game by consuming time to find and destroy. Or maybe if you want a player to lose if he has lost his buildings and cons or something...

This didn't have thorough testing yet, might be useful if someone could test it in some real matches to see if there are no errors.

Re: "Does Not Count" gadget

Posted: 04 Feb 2008, 19:38
by Tobi
again zipped because "The extension lua is not allowed."
Fixed now.

Re: "Does Not Count" gadget

Posted: 04 Feb 2008, 22:47
by Gnomre
Thanks, this is quite useful.

Also, you're a hero for releasing your gadgets in a way that doesn't cause more licensing drama.

Re: "Does Not Count" gadget

Posted: 04 Feb 2008, 23:03
by lurker
Maybe make it allyteam instead?

Re: "Does Not Count" gadget

Posted: 08 Feb 2008, 17:43
by Guessmyname
I imagine the S44 team will find this very useful