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

Circle of special effects

Status
Not open for further replies.
Level 7
Joined
Feb 4, 2005
Messages
289
I want to create when ability is cast (cloud) to create special effects (cloud) in circle around the target point of the ability.

More speicfically:

clouds surrounding the cloud of the ability. I dont know what points to use to make the clouds in circle around the main cloud and still in the aoe of the ability whih is 1500.
 
Level 5
Joined
Jun 17, 2006
Messages
114
for (each integer A from 1 to 10){
for (each integer B from 1 to 10){
set point1 = (point of origin)
set real1 = (for loop integer B x 36) //angle of polar offset
set real2 = (for loop integer A x 150) //distance of polar offset
set point2 = (point1 offset by real2 towards real1)
special effect - create special effect at point2 using (cloud effect)
}
}


i think that should do it. though of course don't forget to destroy those special effects at some point or it will kill your map with memory leaks. you can also alter the above actions a bit to tweak the effects (currently this will create a thick cloud around the target but a thin cloud at the edges).
 
Status
Not open for further replies.
Top