I want to a script that will be used in my game. But here is what I want to do. I don't want this ALL script just bits. so I'll give you the information you need..
I want a "window" to be called upon bt a script that depending on what script the event is calling cna range from ether weapons, armor, or items. and what I want it to do is search for every item the hero has in their inventory and make a list of it.
for example lets say I had something like this
Message : you want to give me something what is it?
Choice :
weapons handler
Script call : *input the correct scritp_weapons*
armor handler
Script call : *input the correct scritp_armor*
items handler
Script call : *input the correct scritp_items*
(lets say items was selected)
(and lets say that this person had, potions, high potions, mana seed, phenix down, book of knowleadge, key, orb, and candy) (so this is what the window would look like)
[ potion ]
high potion
mana seed
phenix down V
------[you move pass phenix down to key]----
Mana seed /\
Phenix down
book of knowleadge
[ key ] V
so it scrolls down but if every item he doesn't have isn't included. I am not sure how hard this is but I am sure Window_itmes might hold some cluse to this. Mostly because it works in order and doesn't leave huge spaces between items selection it moves them all close together.
ALSO! after selecting an option I want to beable to indicate an varible id so to say, here is what I am thinking of doing
Items = 0[id from item database]
weapons = 1[id from weapons data base]
armor = 2[id from armor data base]
this way I can have a future event clue in and go, "you were very kind giving her your (input what ever you gave her)
(if possible can you give me the option in the call script to select what varible to set the id in? if not don't worry about it )
that SHOULD cover it. Many thanks in advance
strange requests, as always kathis... XD
well I suppose it sounds strange yes though I don't about you, but I don't erally want to make a bunch of If conditions for over 400 different items, not to mentoin that it wouldhave over that amount in messages for doing this with just events would looked like this
Back
potion
high potion
More
Back
mana seed
phenix down
More
ect
and what if a person didn't have a phenix down or a potion that thw would be elimated from the list move it all up so there would be a different chioce menue not a resonable eventing programming and very prob for errors I must say.
So thats why I am requesting this script. and the reson I would like it to give an "varible id" number because I don't just plan to use it for this one event, If possible I can use this for potion making, If this is added then this is added you would get this. type of thing
and yes when selected I would like 1 qualitenty of the item to be remove. Its not that big of a request, I think...
thank god for the nice people in phanXgames
http://www.phanxgames.com/forum/forum_posts.asp?TID=5069
^_^