# [Trigger]Creation of Doodads In a circle

Status
Not open for further replies.

#### Gost

Level 10
I have a spell and upon casting it creates doodads in a circle around the caster traping units within it (distance from caster to innermost edge of the circle should be 400, making distance from edge to edge 800. Currently I have this trigger:
• Rock Smash RoR
• Events
• Unit - A unit Starts the effect of an ability
• Conditions
• (Ability being cast) Equal to Rock Smash
• Actions
• Set RockCreationPoint = 0.00
• For each (Integer A) from 1 to 34, do (Actions)
• Loop - Actions
• Set L = (Position of (Casting unit))
• Destructible - Create a Rock Smash Doodad at (L offset by 400.00 towards RockCreationPoint degrees) facing (Random angle) with scale 1.00 and variation (Random integer number between 1 and 9)
• Set RockCreationPoint = (RockCreationPoint + 25.00)
But it keeps yeilding this effect http://s218.photobucket.com/albums/cc282/Gost_Wc3/?action=view&current=RockformationExample.jpg, what should i do to get a more perfect looking circle?

#### PurplePoot

Level 40
That has to do with the pathing of the rock, not your equation.

By the way, you could skip RockCreationPoint and offset towards 25*Integer A degrees.

#### Gost

Level 10
Seriosuly? I did the equation right? Sexy ^^. I figured as much, i think i know how to fix it though.

#### Just_Spectating

Level 39
[Off-topic] Awsome dragon turtle model[/Off-topic]

I dig that spell, it seems cool.

#### PurplePoot

Level 40
It's Callahan's Turtle Fisher or something.

And Gost, you could just make them units, that instead of having a block-pathing like a destructable, have a collision.

#### Just_Spectating

Level 39
[Off-topic]ah, Callahan is good. I dl alot of his models.[/Off-topic]

#### Gost

Level 10
Ah that seems more reasonable purplepoot, -testing.

Status
Not open for further replies.

Replies
5
Views
421
Replies
10
Views
761
Replies
6
Views
652
Replies
1
Views
461
Replies
11
Views
724