WarCraft: Source

 

Ring1

Page history last edited by freddukes@... 1 yr ago

Ring1


This effect is just a simple Ring Beam effect. It will create a circular effect below a players feet, and the circle will grow until the max distance.

 

 

The correct syntax is:

 

wcs.Effect().Ring1(<userid>, <end distance>, <life>, <red>, <green>, <blue>)

 

  • Userid - The user in which the beam will start from
  • End distance - The end size of the radius of the circle... e.g. If the end-distance is 150, the end size of the circle will be 300 units from edge to edge
  • Life - How long it will take the beam to reach the end distance
  • Red - The red color of the beam
  • Green - The green color of the beam
  • Blue - The blue color of the beam

Example:

 

def player_ultimate_on(ev):

    effect = wcs.Effect()

    effect.Ring1(ev['userid'], 150, 5, 255, 0, 255)

    # Create a purple circle, which will take 5 seconds to reach a 300 unit large circle.

 

Comments (0)

You don't have permission to comment on this page.