WarCraft: Source

 

Follow

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

Follow


This command makes lots of little effects follow wherever the player runs. It will only go away after the user stops still for about a second.

 

 

The correct syntax is:

 

wcs.Effect().Follow(<player>, <red>, <green>, <blue>)

 

  • Player - The player the effect will follow
  • Red - The red color of the effect
  • Green - The green color of the effect
  • Blue - The blue color of the effect

Example:

 

def player_spawn(ev):

    effect = wcs.Effect()

    effect.Follow(ev['userid'], 255, 0, 255)

 

Comments (0)

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