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-04-2002, 01:09 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Smile help for my hat

Ok I have my hat NPC and its basically finished from my point of view.But Now I want to add another part:
When I pick up the NPC I want it to enable only 3 hats (mine lets you use all of them).And I want to make it so only buying hats will allow you to wear more.I think I would just use arrays but not sure exactly how.It would be easy if I could use keydown and it will go through all the arrays that were equal to 1.Please help me on how I would go about this
__________________
maximus_asinus
Reply With Quote
  #2  
Old 03-04-2002, 02:17 AM
Phenom1K Phenom1K is offline
Registered User
Join Date: Dec 2001
Location: Somewhereoffthecoastof, Paradise
Posts: 138
Phenom1K is on a distinguished road
Send a message via AIM to Phenom1K Send a message via Yahoo to Phenom1K
Hey! No. Come up with your own ideas.
__________________
The following is a message brought to you in part by JR

The procedding was a message brought to you in part by JR
Reply With Quote
  #3  
Old 03-04-2002, 04:26 AM
amonrabr amonrabr is offline
Scripter
Join Date: Nov 2001
Location: Brazil
Posts: 374
amonrabr is on a distinguished road
Re: help for my hat

Quote:
Originally posted by darkriders_p2p
Ok I have my hat NPC and its basically finished from my point of view.But Now I want to add another part:
When I pick up the NPC I want it to enable only 3 hats (mine lets you use all of them).And I want to make it so only buying hats will allow you to wear more.I think I would just use arrays but not sure exactly how.It would be easy if I could use keydown and it will go through all the arrays that were equal to 1.Please help me on how I would go about this
Yap you can make a string list... If the player has the weapon he has 3 hats in the list..
If the player buy a hat add to the list.
Use NC to upgrade the hat item and add more hats.
Reply With Quote
  #4  
Old 03-04-2002, 12:21 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 had a feeling I would have to do this lol.I will do it tonite.
Long NPCs are LAME.
__________________
maximus_asinus
Reply With Quote
  #5  
Old 03-04-2002, 10:53 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
thats easy stuff right there
__________________
[signature]insert here[/signature]
Reply With Quote
  #6  
Old 03-05-2002, 12:29 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
I have to set 200 strings
__________________
maximus_asinus
Reply With Quote
  #7  
Old 03-05-2002, 01:03 AM
la_builder la_builder is offline
Registered User
Join Date: Jan 2002
Location: Holland
Posts: 154
la_builder is on a distinguished road
X_x
__________________
Dark Frontier
The enemy is surrounding us all,more evil than a human could ever imagine.

Dark Fontier Coming Soon
Reply With Quote
  #8  
Old 03-06-2002, 01:30 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 Kaimetsu
....yo
rofl yo sup in my hood.omg
But ya thanks
__________________
maximus_asinus
Reply With Quote
  #9  
Old 03-06-2002, 02:13 AM
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
have a string like, ownedhats or something, then just use addstring to add a hat whenever they pick it up
__________________
[signature]insert here[/signature]
Reply With Quote
  #10  
Old 03-06-2002, 03:13 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
I was also thinking that but I wouldn't know how to script it.
screen_name you were helping me make the hat b4, how would I go about this?
__________________
maximus_asinus
Reply With Quote
  #11  
Old 03-06-2002, 04:42 AM
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
Quote:
Originally posted by darkriders_p2p
I was also thinking that but I wouldn't know how to script it.
screen_name you were helping me make the hat b4, how would I go about this?
i was??
__________________
[signature]insert here[/signature]
Reply With Quote
  #12  
Old 03-06-2002, 06:48 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
yes.
I had another thread a little while ago.
rar
__________________
maximus_asinus
Reply With Quote
  #13  
Old 03-06-2002, 08:18 AM
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
:/
__________________
[signature]insert here[/signature]
Reply With Quote
  #14  
Old 03-06-2002, 10:21 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
lol
here is the old thread .I also emailed you
__________________
maximus_asinus
Reply With Quote
  #15  
Old 03-06-2002, 08:49 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
Quote:
Originally posted by darkriders_p2p
lol
here is the old thread .I also emailed you
o yeah, i remember now
__________________
[signature]insert here[/signature]
Reply With Quote
  #16  
Old 03-06-2002, 11:25 PM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
then help me rofl
I will email u, I have your address.
__________________
maximus_asinus
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 11:55 PM.


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