The official site of Clan TMMM
 
HomeHomeSearchUsergroupsFAQRegisterLog in


Latest topics
» Hey whats up
Trigger Help! I_icon_minitimeby seankly Wed Nov 14, 2018 1:55 pm

» Gotta click fast - WC3 Mazing #mildlyinteresting
Trigger Help! I_icon_minitimeby hoffmann Wed Jun 21, 2017 10:28 pm

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

» Server Photo Album 1
Trigger Help! I_icon_minitimeby Pat1487 Sat Aug 06, 2016 5:28 pm

» Legacy of The Void Beta
Trigger Help! I_icon_minitimeby Achilles.42 Sun Oct 18, 2015 3:21 am

» Hey guys!!!
Trigger Help! I_icon_minitimeby Eat_bacon_daily Fri Oct 16, 2015 11:20 pm

» What everyone been up to
Trigger Help! I_icon_minitimeby 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
Trigger Help! I_vote_lcap26%Trigger Help! I_vote_rcap
 26% [ 8 ]
Warcraft 3
Trigger Help! I_vote_lcap35%Trigger Help! I_vote_rcap
 35% [ 11 ]
League of Legends
Trigger Help! I_vote_lcap19%Trigger Help! I_vote_rcap
 19% [ 6 ]
World of Warcraft
Trigger Help! I_vote_lcap0%Trigger Help! I_vote_rcap
 0% [ 0 ]
Diablo 2
Trigger Help! I_vote_lcap0%Trigger Help! I_vote_rcap
 0% [ 0 ]
No games at all
Trigger Help! I_vote_lcap10%Trigger Help! I_vote_rcap
 10% [ 3 ]
Other game not listed
Trigger Help! I_vote_lcap10%Trigger Help! I_vote_rcap
 10% [ 3 ]
Total Votes : 31
Transparency

Share
 

 Trigger Help!

Go down 
AuthorMessage
Eat_bacon_daily
Captain
Captain
Eat_bacon_daily


Trigger Help! Empty
PostSubject: Trigger Help!   Trigger Help! I_icon_minitimeSat 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

Trigger Help! 21ovnz9
Back to top Go down
Pat1487
Moderator
Moderator
Pat1487


Trigger Help! Empty
PostSubject: Re: Trigger Help!   Trigger Help! I_icon_minitimeSat 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:
Trigger Help! IRjFR
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
The_Chosen_Oreo


Trigger Help! Empty
PostSubject: Re: Trigger Help!   Trigger Help! I_icon_minitimeSun 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
Eat_bacon_daily


Trigger Help! Empty
PostSubject: Re: Trigger Help!   Trigger Help! I_icon_minitimeSun 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
Pat1487


Trigger Help! Empty
PostSubject: Re: Trigger Help!   Trigger Help! I_icon_minitimeSun 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
Eat_bacon_daily


Trigger Help! Empty
PostSubject: Re: Trigger Help!   Trigger Help! I_icon_minitimeSun 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
AmAzIn[G]


Trigger Help! Empty
PostSubject: Re: Trigger Help!   Trigger Help! I_icon_minitimeSun 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




Trigger Help! Empty
PostSubject: Re: Trigger Help!   Trigger Help! I_icon_minitime

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: