∞
Moderator: Cheaters
-
- Member
- Posts: 62
- Joined: October 3rd, 2007, 4:17 am
- Title: Dragon
- Location: The land of dragons.
Re: What is wrong with this trigger
First off, it should be Events - Unit - A unit Begins the effect of an ability.
Second off, I'm assuming the only thing that's broken is the dmg, right?
You cannot dmg an invulnerable unit. Period. Kill it, sure, but not dmg. You have to make the target vulnerable, dmg it, then make it invulnerable.
Hope this helps. =)
Second off, I'm assuming the only thing that's broken is the dmg, right?
You cannot dmg an invulnerable unit. Period. Kill it, sure, but not dmg. You have to make the target vulnerable, dmg it, then make it invulnerable.
Hope this helps. =)
Dragons FTW!
^ Made by Windflamedmon.
^ Made by Windflamedmon.
-
- Member
- Posts: 65
- Joined: December 22nd, 2007, 12:49 am
-
- Member
- Posts: 62
- Joined: October 3rd, 2007, 4:17 am
- Title: Dragon
- Location: The land of dragons.
Re: What is wrong with this trigger
Uh....did you re-enable the trigger? Also, I would un-hide the unit before making it do anything else. Might cause some bugs.
Dragons FTW!
^ Made by Windflamedmon.
^ Made by Windflamedmon.
-
- Member
- Posts: 65
- Joined: December 22nd, 2007, 12:49 am
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
Re: What is wrong with this trigger
A few comments...
-When using the "make <unit> face some angle over x seconds", even if 'x' is 0, the turn rate is not instant (Usually takes a couple hundred milliseconds at a minimum). This isn't really a big deal just thought I could mention it.
-Where did "AttackDummy" come from?
-Hide Targeted unit? What event response is that? Who is his hiding?
-The "Wait" function is extremely innaccurate and slow to run and even if you say "Wait 0.01" seconds, it has about a 0.3 second minimum. Best way to go is timers.
-Where did Point[1] come from?
-Some special effects when destroyed right away do not play any animation at all and must be stored into to some kind of variable for later destruction.
-You cannot damage invulnerable units. You can modify mana/life with triggers, kill or remove but not damage.
-Your damage type is spells--if the target is magic immune it will not cause damage.
-Your trigger isn't enabled...I'm sure you realized that but a disabled trigger no worky :\.
Maybe you could explain what the trigger is supposed to do instead of saying what's wrong. If there's no objective or target outcome how can someone determine what's wrong.
[Edit]
Spell cast = When the unit is issued the order to cast
Spell effect = The actual casting of the spell
Spell end = When the unit is finished completing the order
You should always use spell effect unless you want otherwise.
-When using the "make <unit> face some angle over x seconds", even if 'x' is 0, the turn rate is not instant (Usually takes a couple hundred milliseconds at a minimum). This isn't really a big deal just thought I could mention it.
-Where did "AttackDummy" come from?
-Hide Targeted unit? What event response is that? Who is his hiding?
-The "Wait" function is extremely innaccurate and slow to run and even if you say "Wait 0.01" seconds, it has about a 0.3 second minimum. Best way to go is timers.
-Where did Point[1] come from?
-Some special effects when destroyed right away do not play any animation at all and must be stored into to some kind of variable for later destruction.
-You cannot damage invulnerable units. You can modify mana/life with triggers, kill or remove but not damage.
-Your damage type is spells--if the target is magic immune it will not cause damage.
-Your trigger isn't enabled...I'm sure you realized that but a disabled trigger no worky :\.
Maybe you could explain what the trigger is supposed to do instead of saying what's wrong. If there's no objective or target outcome how can someone determine what's wrong.
[Edit]
Spell cast = When the unit is issued the order to cast
Spell effect = The actual casting of the spell
Spell end = When the unit is finished completing the order
You should always use spell effect unless you want otherwise.
-
- Member
- Posts: 62
- Joined: October 3rd, 2007, 4:17 am
- Title: Dragon
- Location: The land of dragons.
Re: What is wrong with this trigger
Did you notice my second suggestion?Dark_slayer18 wrote:Julian5 wrote:First off, it should be Events - Unit - A unit Begins the effect of an ability.
Second off, I'm assuming the only thing that's broken is the dmg, right?
You cannot dmg an invulnerable unit. Period. Kill it, sure, but not dmg. You have to make the target vulnerable, dmg it, then make it invulnerable.
Hope this helps. =)
No it didn't actully nothing works at all =/ also why effect of an ability..?
All the other spells in that map don't have that
Dragons FTW!
^ Made by Windflamedmon.
^ Made by Windflamedmon.
-
- Member
- Posts: 65
- Joined: December 22nd, 2007, 12:49 am
-
- Forum Staff
- Posts: 829
- Joined: January 28th, 2007, 8:10 pm
- Title: JASS Programmer
- Location: Canada
-
- Member
- Posts: 65
- Joined: December 22nd, 2007, 12:49 am