Beam1
This effect allows you to create a beam between 2 users. This is a normal beam, just a simple line between 2 people.

The correct syntax is:
wcs.Effect().Beam1(<userid1>,<userid2>,<life>,<red>,<green>,<blue>)
- Userid1 - Which user the beam will start from
- Userid2 - Which user will the beam go to
- Life - How long the beam will stay there for
- Red - (0 - 255) The red amount of the beam
- Green - (0 - 255) The green amount of the beam
- Blue - (0 - 255) The blue amount of the beam
Example:
def player_hurt(ev):
effect = wcs.Effect()
effect.Beam1(ev['attacker'], ev['userid'], 5, 0, 0, 255)
# Creates a blue beam between the attacker and user for 5 seconds
Comments (0)
You don't have permission to comment on this page.