AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Making a player floating. (https://forums.alliedmods.net/showthread.php?t=243149)

Kia 06-30-2014 11:38

Making a player floating.
 
Hello there,

I'd like to ask how to make a player floating slowly towards the sky.
Like, when he has var bX = true, make him floating up until it is false.

I guess this had to be done in PreThink with some Velocity stuff.

Greetz,
Kia.

fysiks 06-30-2014 14:48

Re: Making a player floating.
 
Lower their gravity and give them a small jolt of velocity upward.

Kia 06-30-2014 14:57

Re: Making a player floating.
 
That's what I've already done, thought there is a better way, thanks.


All times are GMT -4. The time now is 21:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.