Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   help for my hat (https://forums.graalonline.com/forums/showthread.php?t=25010)

darkriders_p2p 03-04-2002 01:09 AM

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

Phenom1K 03-04-2002 02:17 AM

Hey! No. Come up with your own ideas.

amonrabr 03-04-2002 04:26 AM

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.

darkriders_p2p 03-04-2002 12:21 PM

I had a feeling I would have to do this lol.I will do it tonite.
Long NPCs are LAME.

screen_name 03-04-2002 10:53 PM

thats easy stuff right there :D

darkriders_p2p 03-05-2002 12:29 AM

I have to set 200 strings x_x

la_builder 03-05-2002 01:03 AM

:megaeek: :eek: X_x

darkriders_p2p 03-06-2002 01:30 AM

Quote:

originally posted by Kaimetsu
....yo
rofl yo sup in my hood.omg
But ya thanks :D

screen_name 03-06-2002 02:13 AM

have a string like, ownedhats or something, then just use addstring to add a hat whenever they pick it up

darkriders_p2p 03-06-2002 03:13 AM

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?

screen_name 03-06-2002 04:42 AM

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??

darkriders_p2p 03-06-2002 06:48 AM

yes.
I had another thread a little while ago.
rar

screen_name 03-06-2002 08:18 AM

:/

darkriders_p2p 03-06-2002 10:21 AM

lol
here is the old thread .I also emailed you

screen_name 03-06-2002 08:49 PM

Quote:

Originally posted by darkriders_p2p
lol
here is the old thread .I also emailed you

o yeah, i remember now

darkriders_p2p 03-06-2002 11:25 PM

then help me rofl :mad:
I will email u, I have your address.


All times are GMT +2. The time now is 04:06 AM.

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