The official site of Clan TMMM
 
HomeHomeSearchUsergroupsFAQRegisterLog in


Latest topics
» Hey whats up
by seankly Yesterday at 1:55 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
by hoffmann Wed Jun 21, 2017 10:28 pm

» I'm getting married and you guys are invited
by Achilles.42 Wed Sep 07, 2016 11:00 am

» Server Photo Album 1
by Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
by Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
by Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

» What everyone been up to
by The_Chosen_Oreo Sun Jun 14, 2015 11:55 am

SC2 Links
SC2 Challenge/Tourney Info

Official SC2 Forums

SC2 Curse

SC2Mapster

Team Liquid

SC2 Replayed

SC2 Strategy
WC3 Links
Clan_TMMM[Host] Info

WC3 Challenge/Tourny Rules

Epicwar
Poll
What game does everyone play now?
Starcraft 2
26%
 26% [ 8 ]
Warcraft 3
35%
 35% [ 11 ]
League of Legends
19%
 19% [ 6 ]
World of Warcraft
0%
 0% [ 0 ]
Diablo 2
0%
 0% [ 0 ]
No games at all
10%
 10% [ 3 ]
Other game not listed
10%
 10% [ 3 ]
Total Votes : 31
Transparency

Share | 
 

 Trigger Help!

Go down 
AuthorMessage
Eat_bacon_daily
Captain
Captain
avatar


PostSubject: Trigger Help!   Sat Jul 30, 2011 3:29 pm

I need to know if there is a way to make the (damage area) trigger not damage allied units or your own units.

This is what i got so far

Back to top Go down
Pat1487
Moderator
Moderator
avatar


PostSubject: Re: Trigger Help!   Sat Jul 30, 2011 5:02 pm

I dont think theres a way to do that directly since damage area is from the map itself and doesnt have an ally
But you could heal allied units within that range for that damage right after the damage goes through

Problem with that is if the unit is below 50 hp it will die before it can be healed
You would have to add an if statement that checks if they are below 51 and heal them first, then do the damage right after

Would look something like this:

Just put your actions where that comment is (outside the if statement) and have the 2nd set life line at the end
Also i cant remember if your own units count as allied to you, if they dont, it would need to be changed a bit, but it wouldnt be too hard
Matching unit may need to be picked unit, i havent actually tested it

You would be better off just changing damage area to an actual spell though
So that it can truly ignore allies and self
Back to top Go down
The_Chosen_Oreo
Corporal
Corporal
avatar


PostSubject: Re: Trigger Help!   Sun Jul 31, 2011 1:17 am

This might not be correct... but instead of doing an attack, make an ability with a cooldown of the attack speed. Make the ability similar to shockwave or war stomp. remove the stun, and attach the ability to a unit.
Back to top Go down
Eat_bacon_daily
Captain
Captain
avatar


PostSubject: Re: Trigger Help!   Sun Jul 31, 2011 6:41 pm

Ya ty both of you ^^
I think ima use oreo's idea though seems to work alot better even leaks could be involved
Back to top Go down
Pat1487
Moderator
Moderator
avatar


PostSubject: Re: Trigger Help!   Sun Jul 31, 2011 7:26 pm

The_Chosen_Oreo wrote:
This might not be correct... but instead of doing an attack, make an ability with a cooldown of the attack speed. Make the ability similar to shockwave or war stomp. remove the stun, and attach the ability to a unit.
Pat1487 wrote:
You would be better off just changing damage area to an actual spell though
So that it can truly ignore allies and self

We said the same thing
Back to top Go down
Eat_bacon_daily
Captain
Captain
avatar


PostSubject: Re: Trigger Help!   Sun Jul 31, 2011 9:02 pm

the thing is... i forgot you said that Very Happy
but ty Very Happy
Back to top Go down
AmAzIn[G]
Commander
Commander
avatar


PostSubject: Re: Trigger Help!   Sun Jul 31, 2011 10:59 pm

Eat_bacon_daily wrote:
the thing is... i forgot you said that Very Happy
but ty Very Happy

You're so sincere lol
Back to top Go down
Sponsored content




PostSubject: Re: Trigger Help!   

Back to top Go down
 
Trigger Help!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Clan TMMM :: Warcraft 3 :: WC3 Tutorials and Help-
Jump to: