WarCraft: Source

 

Shake

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

Shake


Shake shake's a player's screen for a certain time, and at a certain violence

 

The correct syntax is:

 

wcs.Command(<userid>).Shake(<time to shake>, <violence>)

 

  • Userid - The players screen who you want to shake
  • Time to shake - How long the shake will effect the players screen
  • Violence - How harsh do you want to shake the players screen?

 


 

Example:

 

def player_hurt(ev):

    wcs.Command(ev['userid']).Shake(5, 10)

 

 

Comments (0)

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