WarCraft: Source

 

Ring2

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

Ring2


This effect will do the exact same as Ring1, except the ring does not grow, it will stay the same size.

 

 

The correct syntax is:

 

wcs.Effect().Ring2(<userid>, <radius>, <life>, <red>, <green>, <blue>)

 

  • Userid - The player who the beam will appear under
  • Radius - How large the circle will be (in units)
  • Life - How long the effect will stay there for
  • Red - The red color of the circle
  • Green - The green color of the effect
  • Blue - The blue color of the effect

Example:

 

def player_spawn(ev):

    effect = wcs.Effect()

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

 

Comments (0)

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