WarCraft: Source

 

Box

Page history last edited by Anonymous 1 yr ago

Box


Create a box made out of lasers at x y z

 

The correct syntax is:

     wcs.Effect().Box(x, y, z, effect_time, red, green, blue)

 

  • x - x origin
  • y - y origin
  • z - z origin
  • effect_time - how long the box lasts for
  • red - the amount of red
  • green - the amount of green
  • blue - the amount of blue

 

 

 

 


 

 

Example:

 

def player_spawn(ev):

    effects = wcs.Effect()

    x,y,z = es.getplayerlocation(ev['userid'])

    effects.Box(x, y, z, 5, 0, 125, 125)

 

Comments (0)

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