![]() |
Local to Global
I need to take an X and convert it to the X on the screen. This doesn't work ...
temp.co = GraalControl.localtoglobalcoord( { this.x - 3.5, this.y - 2.7 } ); it doesn't convert it to global. It just keeps the numbers the same. Help please :( |
and what is this.x and this.y?
|
It's a level NPC, this.x and this.y work fine. I just need this.x to magically be the screenx for that x.
|
but localtoglobalcoord() is for GuiControls..
|
Oh, I see what you're saying. I was thinking it was for converting the level x and y to global.
Okay, well are there any ways to do this? |
Quote:
PHP Code:
|
Quote:
|
Quote:
|
Or you can just multiply by 16. (I think)
|
Quote:
|
| All times are GMT +2. The time now is 03:20 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.