HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

<Q>How to get a unit who's shot by a missile?

10-30-2003, 01:20 PM#1
danny760311
I wanna add an effect of Frost Arrow : when a unit is shot by a frost arrow, pause it for 3 seconds.

But I can't get the right time when it's shot by the missile...

Could someone help me?
10-30-2003, 01:24 PM#2
IDISacredIDI
Quote:
Originally posted by danny760311
I wanna add an effect of Frost Arrow : when a unit is shot by a frost arrow, pause it for 3 seconds.

But I can't get the right time when it's shot by the missile...

Could someone help me?


Ermm i think you could link a trigger to the spell.

Let me think.....

erm i think you need to add a trigger that when your spell is cast on a unit it slows/stops the target for how ever long you need it to.

IDISacredIDI
10-30-2003, 01:36 PM#3
danny760311
Well, I want it paused when the missile touches it...
10-30-2003, 02:25 PM#4
Dragon
Try something at the unit's end such as... (Just an example, I dunno if these triggers even exist...)

E- A unit takes damage (or loses life or loses hp or whatever)
C- Unit equal to (your unit here) (don't add this part if you want it to freeze any unit)
A- Paused damaged unit
A-Wait 3 seconds
A- Unpause damaged unit
10-30-2003, 04:30 PM#5
Stitch
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Rifleman
Actions
Unit - Pause (Attacked unit)
Unit - Change color of (Attacked unit) to Teal
Wait 3.00 seconds
Unit - Unpause (Attacked unit)
Unit - Change color of (Attacked unit) to (Color of (Triggering player))



that will make all riflemen shoot, freeze (they turn teal just for the freeze effect) stay frozen 3 seconds, then unfreeze. hopefully you will get it working.
10-30-2003, 05:03 PM#6
Biflspud
A 3 second stun on being attacked is REALLY abusive, I hope you know that. If their cooldown is anything less than 3 seconds, these units can each pin and rape any enemy unit they encounter.

I would be pissed if I were fighting against these monsters.
10-31-2003, 02:41 PM#7
danny760311
Thank you a lot, Pascal314...but my problem hasn't solved:(

My difficulty is to make the target paused at the time when a unit is hit by the arrow, not the time the arrow goes out.


I DON'T want the target be paused this time:



I WANT the unit be paused thie time:





THE MOST DIFFICULTY THING IS THAT I CAN'T GET THE TIME I WANT...:(

P.S: I know most JASS cripts. So if you want to write in JASS, just write it.
10-31-2003, 11:03 PM#8
danny760311
..............................>"<

Seems no one can solve this problem:( :( :(
10-31-2003, 11:09 PM#9
IDISacredIDI
Quote:
Originally posted by danny760311
..............................>"<

Seems no one can solve this problem:( :( :(


Why not just base the spell off the hammer throw thing the mountain king has? It will Stop your target when the spell hits him. Just change the graphics ect to make it what you want/need it to be, no triggers needed.

IDISacredIDI