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-13-2001, 09:42 PM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
AP bar

Here, Why won't the AP go down?

// NPC made by Rob Getashu
timereverywhere;
timeout=.05;
if (playerenters) {toweapons -Ap Bar-
}
//AP Bar
if (isweapon) {
showstats 1+4+8+16+32+128+256+512+1024;
this.apdisplay = ((playerap/100)*100);
showimg 1,rene_apbar.gif,this.pos[0],this.pos[1];
this.pos = {screenwidth-625,70};
}

changeimgvis 1, 4;
if (this.apdisplay>0) {
showimg 2,rene_ap.gif,this.pos[0],this.pos[1];
changeimgpart rene_ap.gif,0,0,this.apdisplay,100;
changeimgvis 2,4;
}

timeout = .05;
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #2  
Old 10-13-2001, 09:54 PM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Wow, I wish i could script like that =/
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #3  
Old 10-13-2001, 11:32 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
*note

you should make note a lot of scripts only work online .... so you might ask a server owner if they could test it for you ....
Reply With Quote
  #4  
Old 10-13-2001, 11:55 PM
Link188 Link188 is offline
Registered User
Link188's Avatar
Join Date: Jul 2001
Location: Monroeville, PA
Posts: 548
Link188 is on a distinguished road
Send a message via AIM to Link188
nyghtGT, you have long fingers lol
__________________
~Jeice Lighthawk~
"And you will shed tears of scarlet..."

~Edited by me. ^_^
Reply With Quote
  #5  
Old 10-13-2001, 11:59 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
camera

Quote:
Originally posted by Link188
nyghtGT, you have long fingers lol
they are just really close to the camera ....
Reply With Quote
  #6  
Old 10-14-2001, 12:00 AM
Link188 Link188 is offline
Registered User
Link188's Avatar
Join Date: Jul 2001
Location: Monroeville, PA
Posts: 548
Link188 is on a distinguished road
Send a message via AIM to Link188
oh...lol
__________________
~Jeice Lighthawk~
"And you will shed tears of scarlet..."

~Edited by me. ^_^
Reply With Quote
  #7  
Old 10-14-2001, 02:18 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
Quote:
Originally posted by ownerofbabylon
Wow, I wish i could script like that =/
I sure hope you are being sarcastic, that is supa easy, basically Gene, or 'Rob', You need to make that changeimgvis to about 4, but then you have to change the variables to a little higher, to make it want to go down anyways. But then again, that might also make it not want to go up.

-Rebel95
Reply With Quote
  #8  
Old 10-14-2001, 02:25 AM
Link188 Link188 is offline
Registered User
Link188's Avatar
Join Date: Jul 2001
Location: Monroeville, PA
Posts: 548
Link188 is on a distinguished road
Send a message via AIM to Link188
that helps alot
__________________
~Jeice Lighthawk~
"And you will shed tears of scarlet..."

~Edited by me. ^_^
Reply With Quote
  #9  
Old 10-14-2001, 04:43 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Quote:
Originally posted by Enigma_GP6


I sure hope you are being sarcastic, that is supa easy, basically Gene, or 'Rob', You need to make that changeimgvis to about 4, but then you have to change the variables to a little higher, to make it want to go down anyways. But then again, that might also make it not want to go up.

-Rebel95
no i wasnt joking you piece of **** with a stick in your ass
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #10  
Old 10-14-2001, 04:45 AM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
You'll have to put it in a timeout loop for it to get updated constantly.
__________________

Reply With Quote
  #11  
Old 10-14-2001, 05:20 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by grim_squeaker_x
You'll have to put it in a timeout loop for it to get updated constantly.
Ok thx and anyways Lord Helmut I can probly script better than you. =/
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #12  
Old 10-14-2001, 08:11 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
all the commands needed work offline therefore a ap bar should work offline
Reply With Quote
  #13  
Old 10-14-2001, 08:14 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
Quote:
Originally posted by SSRobgeta


Ok thx and anyways Lord Helmut I can probly script better than you. =/
He wasn't saying you couldn't...He was saying he wished he was at your level.
__________________
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
  #14  
Old 10-14-2001, 10:50 AM
Sep3kP2P Sep3kP2P is offline
Registered User
Join Date: Aug 2001
Location: CT
Posts: 183
Sep3kP2P is on a distinguished road
Send a message via ICQ to Sep3kP2P Send a message via AIM to Sep3kP2P
Re: AP bar

Quote:
Originally posted by SSRobgeta
Here, Why won't the AP go down?

...
this.apdisplay = ((playerap/100)*100);
...
what exatly does this accomplish? wouldn't it be the same number?...
__________________
Sephiroth2k - Co-Owner Of Dragon Quest (Look In Profile For Website)
Reply With Quote
  #15  
Old 10-14-2001, 11:14 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by SSRobgeta


Ok thx and anyways Lord Helmut I can probly script better than you. =/
WHY and the hell does this always end up with "I can script better than you"
Reply With Quote
  #16  
Old 10-15-2001, 12:24 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by Xaviar


He wasn't saying you couldn't...He was saying he wished he was at your level.
Oh
Oh ok
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #17  
Old 10-15-2001, 12:25 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
post #23847982347 on ap bars LOL
Reply With Quote
  #18  
Old 10-15-2001, 12:27 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by btedji
post #23847982347 on ap bars LOL
wow
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #19  
Old 10-15-2001, 07:14 AM
Enigma_GP6 Enigma_GP6 is offline
Banned
Join Date: Jul 2001
Location: Who?
Posts: 261
Enigma_GP6 is on a distinguished road
Send a message via ICQ to Enigma_GP6 Send a message via AIM to Enigma_GP6
Well, basically, I dont like this. Peoples are arguing on what post this is. Gosh, if I had a nickel for everytime omeone did that, I'd be rich even more than I am, that's why I use silver pens.....if You can read this, you have way to much time on your hands.

-Rebel95
Reply With Quote
  #20  
Old 10-15-2001, 10:19 PM
PresShinP2P PresShinP2P is offline
Registered User
Join Date: Oct 2001
Location: Screw it
Posts: 84
PresShinP2P is on a distinguished road
Send a message via AIM to PresShinP2P
Kamietsu is better than everyone, end of argument
__________________
President Shinra
Reply With Quote
  #21  
Old 10-15-2001, 10:20 PM
PresShinP2P PresShinP2P is offline
Registered User
Join Date: Oct 2001
Location: Screw it
Posts: 84
PresShinP2P is on a distinguished road
Send a message via AIM to PresShinP2P
Jesus the posting goes to fast in these forums
__________________
President Shinra
Reply With Quote
  #22  
Old 10-16-2001, 03:19 AM
royce royce is offline
Banned
royce's Avatar
Join Date: Sep 2001
Location: Yakitinzen, China
Posts: 2,271
royce is on a distinguished road
Send a message via AIM to royce
i can read it by highlighting it....its second nature to highlight to me
Reply With Quote
  #23  
Old 10-16-2001, 07:25 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Anyways... Continue
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
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 09:49 PM.


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