Blind
Blind is skill which blinds a person for a certain amount of time, and optional, to a certain amount of alpha...
The correct syntax is:
wcs.Command(<userid>).Blind(<time>,[optional: Alpha])
- Userid - The player's ID which is going to be blind...
- Time - The amount of time that the person will be blind for (in seconds....)
- Optional: Alpha - If this is set to anything lower than 255, the player wont be fully blind. 127 is 50% blind etc, 10 is hardly blind at all, 200 is about 80% blind.
Example:
def player_hurt(ev):
player = wcs.Command(ev['userid'])
player.Blind(5,127)
# Makes a player 50% blind for 5 seconds when attacked
Comments (0)
You don't have permission to comment on this page.