Origin points
Lets say i've a random origin.
I need to change Origin[2] value in order to it goes verticaly to the original value. How can i do that? Let's say ....HERE.... ......|........ ......|........ ......|........ ......|........ ......o/...... |
Re: Origin points
What "original value"?
|
Re: Origin points
Some random value getting pev_origin from some entity/player.
Then i need to change the last slot of that origin to get a new origin point vertical to that one. |
Re: Origin points
You answered your own question before you asked it. Read your original post.
|
Re: Origin points
I know what i've to do. The problem is i don't know how. Maybe the solution is easy but i'm lost right now.
Spent a lot of hours finding out what the problem was, it's 2:40am and my brain is dead xD |
Re: Origin points
Explain what you are actually trying to do because the question you asked is "how do I add a number to a number?".
|
Re: Origin points
go vertically, you mean go up/down ?
PHP Code:
|
Re: Origin points
You can randomize only origin[0] and origin [1], holding origin[2] untouchable, show code where you randomize origin.
|
Re: Origin points
PHP Code:
|
Re: Origin points
Quote:
|
| All times are GMT -4. The time now is 09:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.