• 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] Creation of Doodads In a circle

Status
Not open for further replies.
Level 10
Joined
Jan 21, 2007
Messages
576
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?
 
Level 10
Joined
Jan 21, 2007
Messages
576
Seriosuly? I did the equation right? Sexy ^^. I figured as much, i think i know how to fix it though.
 
Status
Not open for further replies.
Top