• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How could i make a Mirroring Trail?

Status
Not open for further replies.
Level 2
Joined
Oct 31, 2004
Messages
19
This one is definately a bit complicated.

What i want to make is a Mirroring Trail that follows my hero when he moves. I've seen this done in several maps but they were all protected, so i couldn't get any Ideas in the least.

Here's what i know, and how i think it should work. I just can't trigger it.

I believe it has to be for each animation. I don't think you can have these mirrors "copycat"

They would require a seperate character and require the locust ability and the invulnerable ability. Or maybe not, maybe trigger it that it spawns the same kind of character as the Hero and then append locust, invulnerable, etc.

You'd have to obviously create an integer for each copy and have it loop over and over so long as the condition is right, and that is the Hero is moving.

I think once i do that, i have to play the animation at a % of the speed and have them disappear shortly after spawning (like 1-2 seconds?) They'd be tinted dark (Or just tint them in the shadow image unit) and approximately 50/50 transparent.


I just don't know for the life of me how to trigger it.

====================================================

In the mean time, i'm having problems with my Shadow Rush Spell.

I tried basing it off of the impale ability instead of Shockwave. But i can't add the ground distortion effect, and i have no clue what Wave Time is. Apparently with SHockwave, the character has to play the Attack animation so i have to put a delay before my character jumps or he doesn't fire off the ability. Not the same with Impale.

Another thing with Impale is that i can't get the enemy to get knocked up without having to see the spikes coming out of the ground, and this is linked directly to the impale effect/buffs.

How do i unattach the buff/effect for impale from the spell, and use one that i actually made...

Hmmm, i can't get him to play the attack animation yet.

I'm just going to make this a bit easier and put my test map up for anyone who wants to check it out.

The first part of Shadow Dash is done, the counterpart Shadow Rush is not looking good.

I tried setting up an invisble caster, and it was a No Go. I couldn't get the invisicaster to cast the impale with shadow Dash to stun the enemies (at least stun, i can deal without the knockup).

here is a copy of my Trigger So Far. I deleted a bunch of it out of frustration, and got it back to just the damage.

here is location to Download the test map so far.

Shadow Rush
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Shadow Dash
Actions
Set ShadowCaster = (Casting unit)

For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
Special Effect - Destroy Shadow_Effect[(Integer A)]
Special Effect - Create a special effect attached to the foot right of ShadowCaster using Abilities\Weapons\BlackKeeperMissile\BlackKeeperMissile.mdl
Set Shadow_Effect[1] = (Last created special effect)
Special Effect - Create a special effect attached to the foot left of ShadowCaster using Abilities\Weapons\BlackKeeperMissile\BlackKeeperMissile.mdl
Set Shadow_Effect[2] = (Last created special effect)
Special Effect - Create a special effect attached to the hand left of ShadowCaster using Abilities\Weapons\ShadowHunterMissile\ShadowHunterMissile.mdl
Set Shadow_Effect[3] = (Last created special effect)
Special Effect - Create a special effect attached to the origin of ShadowCaster using Abilities\Weapons\BlackKeeperMissile\BlackKeeperMissile.mdl
Set Shadow_Effect[4] = (Last created special effect)
Wait 0.20 seconds
Unit - Move ShadowCaster instantly to (Target point of ability being cast)
Wait 0.25 game-time seconds
For each (Integer A) from 1 to 4, do (Actions)
Loop - Actions
Special Effect - Destroy Shadow_Effect[(Integer A)]




http://mywebpages.comcast.net/apassmore1/Files/test_Map.w3x
 
Level 13
Joined
Dec 29, 2004
Messages
597
For trail effect, i think you can't do it with 'for loop', since 0.20 second is too long for the effect to follow caster animation with smooth effect. You must make another trigger for this loop.

Event:
Every 0.04 seconds
Action:
---Loop Action-----

Then, you must activate and deactivate this trigger if necessary.
 
Status
Not open for further replies.
Top