Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   New Variables for the player (https://forums.graalonline.com/forums/showthread.php?t=37150)

mikepg 09-02-2002 09:45 AM

New Variables for the player
 
playerscreenx, playerscreeny.

These would be very useful for showimg when you want to layer it to the interface (4+).

like, showing attributes over a player's head, but still have it visible over other NPCS, etc.

Com013 09-02-2002 08:16 PM

Isn't layer 3 enough?

G_yoshi 09-02-2002 09:20 PM

Re: New Variables for the player
 
Quote:

Originally posted by mikepg
playerscreenx, playerscreeny.

These would be very useful for showimg when you want to layer it to the interface (4+).

like, showing attributes over a player's head, but still have it visible over other NPCS, etc.

Huh, what?!

screenwidth and screenheight are available if that is what you are talking about. Besides, layers 4-??? are static. You want layers 1-3 which are dynamic and are bound to the board's tile coordinates. The static layers are the window layers...you really should only use those for the player's personal displays or for things if you want to use precise measurements ;)

Falcor 09-02-2002 10:22 PM

no, the position of the player on the screen (so I am guessing).

Hes usually always at 30 30, besides when the screen cant go any farther... I made some npc that shows images on your screen layer in relitive proportion to your position on the level at one point... But i'm not about to give it away ;)


All times are GMT +2. The time now is 01:58 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.