Change Gravity
This is a command which will change the gravity for the specefied user. The amount to change will add it, so if you want to reduce the amount of gravity (I.E, make the user jump higher), place in a negative value.
The correct syntax is:
wcs.Command(<userid>).ChangeGravity(<value>)
- Userid - The ID of the person who you wish to change their gravity
- Value - A value which will be added to their current gravity value. The default gravity of the user is 1.0... 0.1 enables the user to jump VERY high, and 1.5 barely allows you to jump... If you want to decrease a value (I.E make the user jump higher) use a negative value.
def player_spawn(ev):
player = wcs.Command(userid)
player.ChangeGravity(-0.1)
Comments (0)
You don't have permission to comment on this page.