HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

will help with triggers

12-25-2004, 09:17 PM#1
Drake Eternal
i am willing to help with any triggers you may be having trouble with or do triggering for any kind of map, campaign, or spells

no jass please
12-26-2004, 01:42 PM#2
Svenn
Quote:
Originally Posted by Drake Eternal
i am willing to help with any triggers you may be having trouble with or do triggering for any kind of map, campaign, or spells

no jass please
Hi.
Im making map with two teams attacking each other's powercores, if one is destroyed, then the opposite team looses.
Teams are: Red- Team 1
Blue- Team 2
Teal- Team 1
Purple- Team 2
Etc......


But the trigger which defeats players doesnt work. Here's the one i tried as test for Red.

Events: Unit - Power Core 001 <gen> dies
Conditions: (Power Core 002 <gen> is Alive) Equal to True
Actions:
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Victory Player 2 (Blue) (Show Dialogs, Show Scores)

Can you help me make this right? :\

Svenn
12-26-2004, 01:48 PM#3
Guest
Quote:
Originally Posted by Svenn
Hi.
Im making map with two teams attacking each other's powercores, if one is destroyed, then the opposite team looses.
Teams are: Red- Team 1
Blue- Team 2
Teal- Team 1
Purple- Team 2
Etc......


But the trigger which defeats players doesnt work. Here's the one i tried as test for Red.

Events: Unit - Power Core 001 <gen> dies
Conditions: (Power Core 002 <gen> is Alive) Equal to True
Actions:
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Victory Player 2 (Blue) (Show Dialogs, Show Scores)

Can you help me make this right? :\

Svenn

Remove the condition, doesn't need to be there...

Or maybe you have forgotten to remove the Melee map trigger?
12-26-2004, 01:49 PM#4
Guest
I want a trigger than, when a unit's hit points is less than or equal to 10%, it should stop, being unable to move, wait 2-3 seconds, then unleash a nova-like spell that damages everything around him, then add a 30-60 second cooldown to that so he doesnt chain that ability when under 10% hit points.

I've almost managed it but the editor didn't let me use a 'Unit - Damage Area' action... So I'd prefer some other thing...

Please help :)

P.S. I want the skill(trigger) to be shown as a passive skill at X3, Y2, and when this trigger has been run, the cooldown clock should start over the icon.

Although, the passive thing is not so important, the trigger itself is the most important thing atm.
12-30-2004, 04:56 PM#5
Drake Eternal
u posted that in another thread didn't u?

i put a file there it should be a map with the triggers in it

http://www.wc3campaigns.com/showthread.php?t=69861

jus tell me if the link doesn't work
01-02-2005, 07:45 AM#6
coololle
How do i order a unit to cast a spell in the direction its facing?

Edit: Its an Edited shockwave clone
01-02-2005, 12:32 PM#7
Drake Eternal
u have to make it target a unit or point, for exmple


Unit - Issue order targeting point/unit - Order (Unit) to (*cast spell) at (point/unit)

*the problem here is that there is a limited list of spells so u need to go look at your spell in the object editor and find: Text - Order sting use/turn of

Then make sure it doesn't have same order string as any other spells it may have or else it will always try to cast both

then under (cast spell) u want to put the ability that the order string aplies to

did that make any sense to u?
01-02-2005, 04:57 PM#8
Kishe
Unit - Order (your unit here) to Orc Tauren Chieftain - Shockwave ((Position of (Triggering unit)) offset by (any real number less than the casting range of your edited shockwave) towards (Facing of (Triggering unit)) degrees)

That should do it for you. If not, you might want to play around with it.
01-02-2005, 07:20 PM#9
Oblivion9
I am unsure how to use buff comparisons with respect to targets of an effect/buff. Specifically I am concerned with Phoenix fire. There has got to be a way to determine when an opponent has been attacked by phoenix fire and then have a special trigger attached to it. So if you could offer advice of how to track that, I would be most appreciative.