WarCraft: Source

 

Beam4

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

Beam4

 


 

This beam joins people up via big 'sausage' like shapes. It uses the sptire halo01.vmt

 

The correct syntax is:

 

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

 

  • Userid1 - The player where the beam shall start
  • Userid2 - The player where the beam shall end
  • Life - How long the effect 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):

    userid = ev['userid']

    attacker  = ev['attacker']

    wcs.Effect().Beam4(userid, attacker, 5, 255, 0, 255)

 

Comments (0)

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