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 09-24-2001, 12:35 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
Healing Health Bar..

Okay, here, this is what I have for the healing part of my health bar which, well, dont work.
NPC Code:

if (playerheals<1&&playerhearts<0.5){
showimg 351,hpbar15.gif,450,30;
changeimgpart 351,0,0,0,0;
changeimgvis 351,4;
}



Can you tell me how to fix it to where it heals and stuff.
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #2  
Old 09-24-2001, 12:50 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
Oh...hmmm. Could you make it to where it works that you can heal when you are alive?
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #3  
Old 09-24-2001, 12:53 AM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Im gonna save Kai the trouble and say no for him

"No."
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #4  
Old 09-24-2001, 12:54 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
Just heal pretty much. Like, heal from every heart. Ex: If i had 0.5 health left, and I took a heart, I would be at 1.5. bUt, you think you could do all of it?
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #5  
Old 09-24-2001, 01:06 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
yeah
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #6  
Old 09-24-2001, 01:13 AM
Dnetick Dnetick is offline
Registered User
Join Date: Sep 2001
Location: USA
Posts: 136
Dnetick is on a distinguished road
Send a message via AIM to Dnetick
Well, see I have it and stuff and then when I get a heart (not full heart), it does heal. Well, it dont show the new HP Bar Image I need. But, I know it heals me. It just dont show the new image. I just need it to where if I had 1 heart left, I get a heart, it goes to 2 and it shows the new image
__________________
- dmjof
- Fortara 1.28: 192.168.200.2
- Fortara 1.28: 14900
- Fortara 1.28 Guest:
guest:guest
email: [email protected]
aim: dmjof
PW Owner: Fortara
PW Site: http://froggyfun.freewebsites.com/findex.html
Reply With Quote
  #7  
Old 09-24-2001, 01:18 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
if (timeout) {
timeout = .5;
setstring this.hearts,#v, playerhearts;
}

or this.hearts = playerhearts;

not sure
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 08:37 PM.


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