Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Showimg (https://forums.graalonline.com/forums/showthread.php?t=18629)

Aknts 12-10-2001 06:09 AM

Showimg
 
Ok I am needing help with Showimg. I have everything I need for it to show but I want the image to always show in the Bottom Right Corner no matter how big the screen is. I have tried everything I can think of thats why im asking here. Please do not put "try this" or "maybe put this" If your going to help post a little script that you tested that the image always stays in the bototm right.

T3CK 12-10-2001 06:11 AM

try this:
showimg pos[positin of scren here]*3-14,another y variable here.

Aknts 12-10-2001 06:12 AM

Quote:

Originally posted by T3CK
try this:
showimg pos[positin of scren here]*3-14,another y variable here.


...

Aknts 12-10-2001 06:25 AM

Cybnext help me.

T3CK 12-10-2001 06:28 AM

Aknts, I'm just foolin around with ya. But seriously, that is all I know about it. If I were you, I'd use this thread to up your post count and get your personalized desctiption under your account name. Above your Avatar.

ShockwaveISTHEBEST 12-10-2001 06:42 AM

Thats kinda funny, the second post I mean.

Aknts 12-10-2001 06:55 AM

I've been posting alot but im not fixing to post 15 post by today it will take me lik 5 days to get 1000.

T3CK 12-10-2001 06:57 AM

maybe not, how bout you post the word LOL fifteen times on here? then you could get a thousand, I'll post in between to get a few for myself

Sennema 12-10-2001 07:10 AM

Heh, good plan. As for the showimg thing... To make it always show you'd need something like:
NPC Code:

if(playerenters){
showimg 201,filename,x,y;
changeimgpart 201,x,y,screenwidth/2,screenheight/2;
}



Something like that. I dont have any images to do something like that with though. That and I'm busy doing work on my PW.

Try playing around with it a bit.

LiquidIce00 12-10-2001 07:10 AM

you need to use screenwidth and screenheight and changeimgvis 4
something like

showimg 200,whatever.gif,screenwidth-WidthOfImg,screenheight-HeightOfImg;
changeimgvis 200,4;

i didnt test it sorry but plz dont hurt me if ti doesnt work hehe

Sennema 12-10-2001 07:19 AM

Hmm... I had everything all wrong it seems. Oh well, I dont usually work with images, though now that I know more about junk like that I think I will start. Thanks Liquid:D


All times are GMT +2. The time now is 11:19 AM.

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