Using "Shaper's" Circle func

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
Avoid Shaper. It is inefficient and has bad interface.

Btw, you can use PolarProjection.
I recommend using X and Y.
x + range * Cos(angle)
y + range * Sin(angle)
while, angle = 10,20,30,40,.... 360 by using loop.
 

Chaos_Knight

New Member
Reaction score
39
I didnt want to know unnessecary maths. I wanted to know to create a circle in Shaper. I dont care if its bad. :thdown:
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Here's a small example:
JASS:
Shape.createCircle(GetUnitX(GetTriggerUnit()),GetUnitY(GetTriggerUnit()),350.,GetUnitFacing(GetTriggerUnit()),1,100,0.1,null)


This will (If I'm correct... Haven't used this system :S) create a circle around triggering unit with the radius 350., and it'll create one of the effects which the circle is made from each 0.1 seconds, so there'll be a delay before the whole circle to be complete.

Also, the effects will be created in the clockwise direction, beginning in the facing of the unit :D

The finished circle will be made of 100 effects all together :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top