UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Limit for the "z" parameter in SetVelocity?

broken avatar :(
Created 9 years ago
by nabaro
0 Members and 1 Guest are viewing this topic.
2,103 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 January 2014
Last active: 3 years ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
nabaro's Groups
nabaro's Contact & Social Linkschelseafan122099nabarogamerblast11
Is there a limit for the "z" parameter in
Code Snippet
Plaintext
SetVelocity(x, y, z);
? 1000, 2000, and 10,000 all seem to go the same distance in the air.

Thanks in advance for your help!
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 1 year ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Signature
Hey if you had tons of fun on playing my maps please DONATE :)

play ESTATE now, and claim your mansion back from the undead!
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
jei9363's Contact & Social Linksjei9363jei9363jayingardia
are you doing

Code Snippet
Plaintext
SetVelocity(x,y,z);

or?

Code Snippet
Plaintext
SetVelocity((x,y,z));

I didnt find I hade limitations.. maybe I didnt test that high a number
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 January 2014
Last active: 3 years ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
nabaro's Groups
nabaro's Contact & Social Linkschelseafan122099nabarogamerblast11
I am using
Code Snippet
Plaintext
SetVelocity((x, y, z));
Maybe it has something to do with my map?
Marked as best answer by nabaro 9 years ago
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 30 July 2013
Last active: 11 days ago
Posts
517
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
×
Ege115's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Ege115's Contact & Social LinksEge115
I have also noticed that even if you multiplie the number very high of how far the player should move, it still doesn't move the player that far.

What you can do is to set the velocity in a loop like this.
Code Snippet
Plaintext
times_to_loop = 10; // Change this to how many times it should loop
for(v=0;v<times_to_loop;v++)
{
             player setVelocity(your_sets_of_angles);
             wait .05;
}
That way it will move the player further.
Last Edit: February 20, 2015, 12:26:27 am by Ege115
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 January 2014
Last active: 3 years ago
Posts
143
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
nabaro's Groups
nabaro's Contact & Social Linkschelseafan122099nabarogamerblast11
Thank you! I had tried fixing it by repeating the
Code Snippet
Plaintext
SetVelocity((x, y, z));
before but it didn't seem to have an effect. I guess I needed to repeat it more times than I had done before. Thanks again!

 
Loading ...