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 03-22-2002, 02:51 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Talking My Hat NPC -Again-

Ok I am making my hat NPC.
I need to make something with arrays so I can do this:
Make it so I can only use the hats I buy and not every hat.
and when I cycle through only to show the hats that I own.
If you can help me with this please do, I posting me script so you can see.

AND DELTERIA NO SCRIPT STEALING :P
anyone else too

NPC Code:

//NPC made by /\/\ãxïmus Ðärkrïdër
if (playertouchsme) {
toweapons Hat NPC;
}
if (weaponfired) {
this.hb=1;
setani idle,;
setplayerdir down;
disabledefmovement;
timeout=.1;
}
if (timeout&&this.hb==1) {
if (keydown(1)) { i--;
}
if (keydown(3)) {
i++;
} if (keydown(5)) {
if (strequals(#s(client.hat),)&&this.hb==1) {
setstring client.hat,hat#v(i).png;
setplayerprop #P1,#s(client.hat);
setani haton,#s(client.hat);
sleep .1;
enabledefmovement;
this.hb=0;
hideimg 1;
}
if (!strequals(#s(client.hat),)&&this.hb==1) {
setani hatoff,#s(client.hat);
sleep 0.7;
setstring client.hat,;
setplayerprop #P1,;
sleep .1;
enabledefmovement;
setani idle,;
this.hb=0;
hideimg 1;
}
}
if (keydown(6)) {
hideimg 1;
enabledefmovement;
setani idle,;
this.hb=0;
}
showimg 1,hat#v(i).png,playerx-.06,playery-2;
changeimgpart 1,95,0,48,48;
timeout=.1;
if (i<0) {
i=0;
}
}
if (this.hb==0) {
hideimg 1;
}

__________________
maximus_asinus
Reply With Quote
  #2  
Old 03-23-2002, 11:59 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
Re: My Hat NPC -Again-

Quote:
Originally posted by darkriders_p2p

AND DELTERIA NO SCRIPT STEALING :P
anyone else too

Stereotyping us because of our former owner is not a very nice thing to do, and before you do it again you should at least go to Delteria and see how much it has changed ...
Reply With Quote
  #3  
Old 03-23-2002, 12:13 PM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
I went on delteria and in the first five minutes I PKed someone and he put a staff tag on and ban me.I didn't see much.
And I'm sorry for stereotyping you, I shoudl just yell at whoever made the hackeysack gani for g2k1 because I made the EXACT same gani for my g2k1 playerhouse that was rejected.
__________________
maximus_asinus
Reply With Quote
  #4  
Old 03-23-2002, 02:49 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
Quote:
Originally posted by darkriders_p2p
I went on delteria and in the first five minutes I PKed someone and he put a staff tag on and ban me.
staff like that have nothing to deal with your accusations of our "script stealing"
Reply With Quote
  #5  
Old 03-24-2002, 10:02 AM
LilNiglet LilNiglet is offline
Registered User
Join Date: Jun 2001
Posts: 3,178
LilNiglet is on a distinguished road
Quote:
Originally posted by Kaimetsu
No spamming. That includes "Plz help me with the thing I posted 30 seconds ago!?!1"
That would not be possible due to the 60 second rule. :]
Reply With Quote
  #6  
Old 03-24-2002, 10:06 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
ok the post is off topic.
Refering to my earlier topic about my hat.Kai ur looking at this post so I will ask you to help me, we could talk over PMs instead of my posting these messages, and anyothers that wanna help.
__________________
maximus_asinus
Reply With Quote
  #7  
Old 03-24-2002, 10:11 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'll aid you if you need some gfx of a selection screen made or if you have something similiar in mind.
Reply With Quote
  #8  
Old 03-24-2002, 11:19 AM
happyme happyme is offline
Registered User
Join Date: Mar 2002
Location: Toronto, Ontario, Canada
Posts: 142
happyme is on a distinguished road
Send a message via AIM to happyme
thats a nice script, it should have numbers on top that would be owage
__________________
Reply With Quote
  #9  
Old 03-24-2002, 11:32 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Quote:
Originally posted by happyme
thats a nice script, it should have numbers on top that would be owage
nice idea, once I get this problem sorted out then thats simple.
So the sooner someone helps me out a bit then its all set, and I will post the whole thing so everyone can use it.
__________________
maximus_asinus
Reply With Quote
  #10  
Old 03-24-2002, 03:02 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
I would use a "bought hats" type system. Where it sets a string, maybe to the server, showing who all owns that hat. Then check to see if they have that number of hat, if not, move to the next, etc etc.
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #11  
Old 03-24-2002, 05:39 PM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by darkriders_p2p


nice idea, once I get this problem sorted out then thats simple.
So the sooner someone helps me out a bit then its all set, and I will post the whole thing so everyone can use it.
Your still doing this dude? after i sent you the script LMAO
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #12  
Old 03-24-2002, 11:14 PM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Quote:
Originally posted by neomaximus2k


Your still doing this dude? after i sent you the script LMAO
neo u ish b thinking of someone else, u never sent me the script.So far screen_name is the only one who has helped me remotely
__________________
maximus_asinus
Reply With Quote
  #13  
Old 03-25-2002, 05:19 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by darkriders_p2p


neo u ish b thinking of someone else, u never sent me the script.So far screen_name is the only one who has helped me remotely
hmm weird, well in that case i'll take a looksie
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

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 10:55 PM.


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