![]() |
Make Image Stick on Screen
What would it take to make this stick on screen like
EXAMPLE: top: 3 down left: 1/2 of the screen NPC Code: |
changeimgvis
|
in a timeout loop would help
|
Thanks you two!
|
Quote:
|
try it without a timeout loop, it'll soon move after you move will it not?
|
Quote:
|
screenheight and screenwidth will also help position it on the screen , hence custom gui's
|
so I could make an image stay in the same place using changimgvis?
|
Quote:
|
If you want something to stick ot the screen, use changeimgvis with a layer of 4 or higher.
Try using variables such as screenwidth (how wide the graal window is in pixels) and screenheight (how tall the graal window is in pixels) if you want to make it appear 5 pixels from the bottom of the screen or something. NPC Code:showimg index,image,screenwidth/2,screenheight/2; That would make the image appear centered (You can make an algorithim to make the placing more precisely centered on the screen - Thats your job, if thats what your doing.) If its for a GUI, I suggest using an index of 200 or more. |
Addition: Slash suggested you to use an index > 200 because it will be displayed only for you, indexes < 200 are displayed for everybody that is in the same level. (If you did not knew)
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 02:15 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.