| 02-14-2004, 10:19 AM | #1 |
a trap that shoots in a straight line about evvery 3 seconds that slows and does damage to a unit if it passes through while it os going off An example map would be great thanks :P Busta! |
| 02-14-2004, 04:08 PM | #2 |
The best way to go about it, is to give the ability of the ballistas upgrade thingy to a ward. Then a trigger would be like... E: A unit is attacked C: Attacking Unit is equal to "The Trap" A: Unit Group - Pick every unit owned by Player Y (where Player Y is the enemy) with offset (figure out the math here ;x) Special Effect - Create a special effect at picked unit's chest Set SFX[1] = last created special effect E: Every 3 seconds of them game A: Destroy SFX[1] (That's if the ward has a 3 second attack cooldown) Now, you have to give the ward the ability of an Orb, preferrably the Slow Orb. Set the Slow Orb's chance to cast to 100%. Bam, should work. |
| 02-14-2004, 07:00 PM | #3 |
Would that be the best way to do it? |
| 02-14-2004, 09:09 PM | #4 |
Something based off shockwave or impale would probably be better. |
| 02-14-2004, 09:49 PM | #5 |
Wat do umean by this? You want like when a unit enters like a region for the trap to fire? Or u want like a perodic event like the fire trap where it shoots up and does damage? |
| 02-15-2004, 07:21 AM | #6 |
I want a periodic event every few seconds for the trap to go off in a line |
| 02-16-2004, 12:09 AM | #7 |
No answer? |
| 02-16-2004, 02:07 AM | #8 |
More details would be nice. Like is this a pre-placed trap that can only fire horizontal or vertical? Is it placed by players? Can it be placed by more than one player in the same game? So answer these two questions and more help should be forthcoming: A) What directions can it fire? B) Who creates it? |
| 02-16-2004, 07:04 AM | #9 |
the trap that i want to make is verticle or horizontal and it is preplaced in we and it will alwayse be there whroughout the game all it does is fire in a line and slow any unit that is hit by it the distance that it wil be fired is about 400 and i hope i answered all of the questions. Hope i get help soon :) ty |
| 02-16-2004, 09:53 AM | #10 |
Okay, basically you create a "trap region" which should be long and narrow, anything in the region will be hurt by the trap, then create an appropriate flame doodad (or whatever) aiming down the region. The trigger will look something like this: E - Periodic Event - Every 3 seconds. A - Play <Trap Doodad> "stand" animation. A - Wait 0.2 seconds. A - Pick every unit in <Trap Region> Set life of (picked unit) to (life of (picked unit) - 100) Order HiddenCaster to "slow" (picked unit) Now the HiddenCaster should be a flying sheep given a special version of slow, with 99999 range, no mana cost and no cooldown. Create the HiddenCaster in a trigger at map initlization, set it to the HiddenCaster unit variable, and hide it using hide unit. |
