[Trigger] Need help about special effects trigger

Status
Not open for further replies.
Trigger:
Make an event of a unit started the effect of the ability.
Then create an action of creating a Special Effect in the target's position or attach to the target.
Then destroy the special effect and the point leak if creating an special effect in point to remove leaks.
 
What i mean was

Trigger:
Make an event of a unit started the effect of the ability.
Then create an action of creating a Special Effect in the target's position or attach to the target.
Then destroy the special effect and the point leak if creating an special effect in point to remove leaks.

For example you casted flame strike how can i make a special effect that a doom special effect will move around 3ft. away from the ability being cast??
 
What you mean is a special effect that spinning around the target then move farther away from the target while spinning around it?

If that's so, there's a solution which someone answered from the previous threads.
Ardenian said:
That's quite easy to trigger:

X coordinate of an orbiting effect: originx + orbitrange * cos(angle)
Y coordinate of an orbiting effect: originy + orbitrange * sin(angle)

The location (originx, originy) is the origin the effect orbits around.
orbitrange is the range of the circle the effect moves around.
angle is the angle between the origin location and the current effect location.

Example:
If your effect travels around the building within one second, then do the following:
Periodically, change angle to 6*( seconds up to one second) passed and set the location of the effect
to ( originx + orbitrange * cos(angle), originy + orbitrange * sin(angle))
 
Never mind I descovered how to do it its just units and and special effect attachment then you order them to move around your enemy....
But theres one thing i dont know? How can you damage them by just effects (ex. a fire circle when a enemy is inside the circle it will damage them without your unit attaking your enemy)
 
Status
Not open for further replies.
Back
Top