Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Status Bar Problems (https://forums.graalonline.com/forums/showthread.php?t=19391)

zell12 12-22-2001 10:14 AM

Status Bar Problems
 
I need some help with a status bar... I can't get the codes to work... The pixels are: 146 X 56... and I want the bar to go where the hearts go...

Warcaptain 12-22-2001 10:21 AM

if you are asking that..

DONT WASTE BANDWITH WITH YOUR PW!

nyghtGT 12-22-2001 10:27 AM

Quote:

Originally posted by Warcaptain
if you are asking that..

DONT WASTE BANDWITH WITH YOUR PW!

what the hell is your problem he just asked for some help ?

zell12 12-22-2001 10:38 AM

Why am I asking for help, mainly because I have 3 staff members... Eveyone quit after the other Owner moved and now that he is back, we only have 3 people... So why don't you STFU WarCaptain, I don't see enginma making alot of success :mad:

aesquivel 12-22-2001 12:17 PM

man dont even listen to warcaptain hes an ass...

mikepg 12-22-2001 09:25 PM

hmmm
 
which part of the script do you need help on?

Im not gonna write it all out, but if you have something specific like a command or variable, id be glad to help :)

zell12 12-23-2001 03:05 AM

setimg and changeimgpart

can't figure em out

TDO2000 12-23-2001 03:31 AM

Quote:

Originally posted by zell12
setimg and changeimgpart

can't figure em out

Setimg??? ummm U mean showimg =/

a basic example to get something in the top corner

showimg 201,@Here i am,screenwidth-150,60;
changeimgvis 201,4;

so if something should always appear at the same position u need to get it on vis-layer 4... this layer is pixel and is not level orientated, but windowsize... (thats why I use screenwidth)


so changeimgpart...

lets say u have a picture with 2 doors first starts at position x-pixel=0 y-pixel=0 and is 32*32 Pixel big second (the open one) starts at x-Pixel=33 y-pixel=0 and is 32*32 Pixel big too

(normally u wouldnt use a showimg for this, but it's just an example)

if(playerenters){
setshape 1,2*16,2*16;
showimg 1,door.png,x,y;
changeimgpart 1,0,0,32,32;
}
if(playertouchsme){
changeimgpart 1,33,0,32,32;
}

so if u enter it shows the first part of the picture if u touch the NPC the second part (silly example)

changeimpart is like this:
changeimpart <Index of the shown pic done with showimg>,<Pixel x so where the x starts in the Picture>,<Pixel y so where the y starts in the picture>,<width in Pixel of the part u want to show>,<height in Pixel of the imagepart u want to show>;

hope this helps...

Warcaptain 12-23-2001 03:43 AM

its the fact that there are 100's of posts already that explain this.

why not use the ability to search the forums.

btedji 12-23-2001 04:35 AM

Man I need to work faster on my script guide :(

WHIPENIE4 12-23-2001 08:50 AM

Lets see he could go back to over 400 threads to find one or he could save the hour and a half and ask in a new thread , lets see which one is less difficult and time saving hmmm *thinks*
Yea i'd go with the new thread.

aesquivel 12-23-2001 09:51 AM

Quote:

Originally posted by btedji
Man I need to work faster on my script guide :(
how far are u on it?

nyghtGT 12-23-2001 10:16 AM

Quote:

Originally posted by aesquivel


how far are u on it?

i did string section ...
:D

aesquivel 12-23-2001 11:27 AM

ko

Spark910 12-23-2001 06:03 PM

Quote:

Originally posted by zell12
Why am I asking for help, mainly because I have 3 staff members... Eveyone quit after the other Owner moved and now that he is back, we only have 3 people... So why don't you STFU WarCaptain, I don't see enginma making alot of success :mad:
Go dude,
My Nan Ate Enigma For lunch
LLLOOOSSSEEERRRSSS

Jman9912-P2P 12-24-2001 11:34 PM

if u still need help IM me Jman9912


All times are GMT +2. The time now is 02:08 PM.

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