• 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.

[Trigger] Need help about special effects trigger

Status
Not open for further replies.
Level 14
Joined
Nov 30, 2013
Messages
926
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.
 
Level 6
Joined
Apr 20, 2016
Messages
215
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??
 
Level 14
Joined
Nov 30, 2013
Messages
926
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))
 
Level 6
Joined
Apr 20, 2016
Messages
215
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.
Top