Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-07-2002, 12:11 PM
KujaBTK KujaBTK is offline
Registered User
Join Date: Sep 2002
Location: Expired in November 10, 2002
Posts: 201
KujaBTK is on a distinguished road
Requesting help

I haven't play much and now I forgot how to script custom bar etc. I need help on the showimg. I used:
showimg 1,IMAGE,playerx-13,playery;
When I move all the way to the right, the image goes with it.
__________________
Need somebody to design a webpage for you? Email me at [email protected] now!
Reply With Quote
  #2  
Old 10-07-2002, 12:30 PM
KujaBTK KujaBTK is offline
Registered User
Join Date: Sep 2002
Location: Expired in November 10, 2002
Posts: 201
KujaBTK is on a distinguished road
I'm still having the same problem.
Attached Thumbnails
Click image for larger version

Name:	1.gif
Views:	220
Size:	2.9 KB
ID:	21083  
__________________
Need somebody to design a webpage for you? Email me at [email protected] now!
Reply With Quote
  #3  
Old 10-07-2002, 12:31 PM
KujaBTK KujaBTK is offline
Registered User
Join Date: Sep 2002
Location: Expired in November 10, 2002
Posts: 201
KujaBTK is on a distinguished road
and this one for with more detail with the problem.
Yes, I want it to stay on the screen only.
Attached Thumbnails
Click image for larger version

Name:	1.gif
Views:	227
Size:	13.4 KB
ID:	21084  
__________________
Need somebody to design a webpage for you? Email me at [email protected] now!
Reply With Quote
  #4  
Old 10-07-2002, 01:52 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
He said he used playerx and playery for positioning. Don't do that. Use on-screen positioning (with pixels) and changeimgvis to 4 or above.
__________________
[signature]insert here[/signature]
Reply With Quote
  #5  
Old 10-08-2002, 10:59 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
Screenwidth and screenheight variables are the best x.X Don't use playerx and playery positioning, because when you are inside or you go to any side of a level, and you're not in the middle of the screen, it bojangles it all to hell PLUS that is set for your screenwidth/height. Most people don't resize, but it's always nice to make it compatible. Using screenwidth/height does not use a deffinative value, instead it's a variable. Look into it. When dealing with screenwidth/height you ALSO have to change the img's visiblity to 4 or more.
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #6  
Old 10-09-2002, 08:19 AM
KujaBTK KujaBTK is offline
Registered User
Join Date: Sep 2002
Location: Expired in November 10, 2002
Posts: 201
KujaBTK is on a distinguished road
Quote:
Originally posted by Kaimetsu
You didn't answer the question.
Ahh I said yes
__________________
Need somebody to design a webpage for you? Email me at [email protected] now!
Reply With Quote
  #7  
Old 10-12-2002, 10:05 AM
KujaBTK KujaBTK is offline
Registered User
Join Date: Sep 2002
Location: Expired in November 10, 2002
Posts: 201
KujaBTK is on a distinguished road
"Damn it doesn't work."

showimgvis 4;
showimg 1,image,screenwidth,screenheight;
__________________
Need somebody to design a webpage for you? Email me at [email protected] now!
Reply With Quote
  #8  
Old 10-12-2002, 10:36 AM
Era_Admin1 Era_Admin1 is offline
Registered User
Join Date: Oct 2002
Location: Melbourne, Victoria, Australia
Posts: 23
Era_Admin1 is on a distinguished road
Send a message via ICQ to Era_Admin1 Send a message via AIM to Era_Admin1
Quote:
Originally posted by KujaBTK
"Damn it doesn't work."

showimgvis 4;
showimg 1,image,screenwidth,screenheight;
showimg 1,image,screenwidth/2,screenheight/2;
// if it's screenwidth or screenheight you won't be able to see the image.
changeimgvis 1,4;
// you need to give it the index of the image which you want to change the visibility of.
__________________
Reply With Quote
  #9  
Old 10-12-2002, 10:38 AM
KujaBTK KujaBTK is offline
Registered User
Join Date: Sep 2002
Location: Expired in November 10, 2002
Posts: 201
KujaBTK is on a distinguished road
Quote:
Originally posted by Era_Admin1

showimg 1,image,screenwidth/2,screenheight/2;
// if it's screenwidth or screenheight you won't be able to see the image.
changeimgvis 1,4;
// you need to give it the index of the image which you want to change the visibility of.
Thanks a lot!
__________________
Need somebody to design a webpage for you? Email me at [email protected] now!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:44 AM.


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