WarCraft: Source

 

Ring4

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

Ring4


This ring uses the <spread>  parameter, which allows your ring to be tall, and have cool 'spready outy' look ^_^.

 

The correct syntax is:

 

wcs.Effect().Ring4(<userid>, <start distance>, <end distance>, <life>, <size>, <spread>, <red>, <green>, <blue>)

 

  • Userid - The player where the beam will emit from
  • Start distance - The starting Diamter of the beam
  • End distance - The ending Diameter of the beam
  • Life - How long it will take the beam to get from start distance to end distance
  • Size - The thickness of the beam
  • Spread - The higher this is, the less it will look like a ring. It makes it less 'circular' so you can see more 'lines' coming from it
  • Red - The red color of the effect
  • Green - The green color of the effect
  • Blue - The blue color of the effect

Example:

 

def player_hurt(ev):

    wcs.Effect().Ring4(ev['userid'], 150, 65, 5, 40, 100, 255, 0, 150)

 

Comments (0)

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