Warcraft III resources & community, 2003–2006 · archived

Circle of special effects

2 posts
#1

Circle of special effects

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.
#2
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).