Making a base protection system

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Making a base protection system

Post by Kryptonyte »

I'm editing a TD, and each player has their own spot.
I tried to make it so when a player types -own,
the game would remove any towers in their spot
that they don't own, so that people could not KS them.

However, it failed. Could anyone help me to get this working?
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4430
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Making a base protection system

Post by Bartimaeus »

Kryptonyte wrote:I'm editing a TD, and each player has their own spot.
I tried to make it so when a player types -own,
the game would remove any towers in their spot
that they don't own, so that people could not KS them.

However, it failed. Could anyone help me to get this working?
Put a region around the base...

When someone types -own, check to see who it is, if player 1 (red), select all units in region that not equal to player red, remove all picked units in region.

Also, make a check not to remove the actual enemy units. And builders.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: Making a base protection system

Post by Ozzapoo »

I already made a nice Jass Trigger for him =P
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!