![]() |
AP Script help...Another "bar" thing.
Okay, I got the HP working properly but I am still having trouble on the healing. Anyway, I decided to make it to where instead of having the AP bar in the normal place, we will have it in the corner along with a AP bar looking health so it looks good. We will also have our MP up there. Now, what I need help with, is the AP bar. I am gonna make some graphics for it later I will script it right now and then add in images. What do I start it out with. I have no idea if it is like the HP bar script.
|
if (timeout){showimg 1,@Tahoma@Bold@#v(playerap),75,64;changeimgvis 1,4;}
=P |
The script for all kinds of bars work exactly the same, only thing you ever have to change is the showing image name, the location the bar should be drawn and the maximum possible length of the bar.
|
Hey would you like to have an HP and AP bar script? I'll give it to you.
|
Too bad here it is :D
// NPC made by Rob Getashu // Change the pictures. timereverywhere; timeout=.05; if (playerenters) { toweapons -Hp Bar-; } if (timeout) { if (isweapon) { showstats 1+2+4+8+16+256+512+1024; this.pos = {screenwidth-180,30}; this.hpdisplay = ((playerhearts/playerfullhearts)*100); this.mpdisplay = ((playermp/100)*100); this.apdisplay = ((playerap/100)*100); if (good) { showimg 1,----.gif,this.pos[0],this.pos[1]; } else if (evil) { showimg 1,----.gif,this.pos[0],this.pos[1]; } else { showimg 1,----.gif,this.pos[0],this.pos[1]; } changeimgvis 1, 4; if (this.hpdisplay>0) { showimg 3,----.gif,this.pos[0]+15,this.pos[1]+33; changeimgpart 3,0,0,this.hpdisplay,6; changeimgvis 3,4; } else { hideimg 3; } if (this.apdisplay>0) { showimg 4,----.gif,this.pos[0]+15,this.pos[1]+50; changeimgpart 4,0,0,this.apdisplay,6; changeimgvis 4,4; } else { hideimg 4; } if (this.mpdisplay>0) { showimg 5,----.gif,this.pos[0]+17,this.pos[1]+66; changeimgpart 5,0,0,this.mpdisplay,6; changeimgvis 5,4; } else { hideimg=0.5; } } } if (playerdies) {playerap=playerap;playermp=playermp;} |
IMGS!!!!!
Post the IMGs please :)
-FrEaKy CaRnIe- I cant make imgs... |
All times are GMT +2. The time now is 03:04 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.