WarCraft: Source

 

Ring3

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

 Ring3


This effect does a more 'course' or rough ring effect. It will grow in size, just as Beam1 does. The effect gives more haphazzard lines; in my opinion, this looks cool.

 

 

The correct syntax is:

 

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

 

  • Userid - Which player where the ring will start
  • End - At what size will the effect end (game units)
  • Life - How long will it take until the effect grows to size <end>
  • Red - The red color of the effect
  • Green - The green color of the effect
  • Blue - The blue color of the effect


Example:

 

def player_spawn(ev):

    effect = wcs.Effect()

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

Comments (0)

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