How i Disable the Attacking on Allies?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

zuman
Junior Member
Posts: 36
Joined: June 19th, 2012, 6:31 pm
Location: Demon Land

How i Disable the Attacking on Allies?

Post by zuman »

Can anyone tell me or give me an example how to make a Trigger witch will Disable Attacking Allies?!
[marquee]
Spoiler:
I'am Awesome[/marquee]
legendair
Senior Member
Posts: 111
Joined: July 12th, 2012, 8:04 pm

Re: How i Disable the Attacking on Allies?

Post by legendair »

In gui or jass ?

for the Gui :

Events: A unit is attacked
Conditions: (Attacking unit) is an ally of (Attacked unit) equal to True
Actions: Order (Attacking unit) to Stop
zuman
Junior Member
Posts: 36
Joined: June 19th, 2012, 6:31 pm
Location: Demon Land

Re: How i Disable the Attacking on Allies?

Post by zuman »

legendair wrote:In gui or jass ?

for the Gui :

Events: A unit is attacked
Conditions: (Attacking unit) is an ally of (Attacked unit) equal to True
Actions: Order (Attacking unit) to Stop


Wait how i make that Conditions i cant make it could you make a map for me and put that stuff in it? pLEASE!

EDIT:
==================================================================
Nvm i got it ^^
[marquee]
Spoiler:
I'am Awesome[/marquee]