WarCraft: Source

 

Beam2

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

Beam2


This command will create a more of a 'ghost like' beam between the two players. It is a thinner line than Beam1 and produces a more 'unique' line.

 

 

The correct syntax is:

 

wcs.Effect().Beam2(<userid1>, <userid2>, <life>, <red>, <green>, <blue>)

 

  • Userid1 - The starting userid of the beam
  • Userid2 - The ending userid of the beam
  • Life - How long the beam will stay there for
  • Red - The red color of the beam
  • Green - The green color of the beam
  • Blue - The blue color of the beam

 


 

Example:

 

def player_hurt(ev):

    effect = wcs.Effect()

    effect.Beam2(ev['attacker'], ev['userid'], 5, 255, 0, 0)

Comments (0)

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