WarCraft: Source

 

Table

Page history last edited by Anonymous 1 yr ago

Table


Create a table made out of lasers at x y z

 

The correct syntax is:

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

 

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

 

 

 


Example:

 

def player_spawn(ev):

    myEffect = wcs.Effect()

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

    myEffect.Table(x, y, z, 5, 255, 0, 0)

 

Comments (0)

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