HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Items w/ inventory?

01-17-2004, 12:09 AM#1
eLvEn.bLooD.
is it possible to haf...uh for example an item that can be dropped and used as a backpack?
cuz i'm trying to make a rpg sorta thing that u can carry, for example, a cooking pot that you can drop on the ground and cook...
or small items to make forges w/

and second question... can is it possible to make a item use upgrades?
01-17-2004, 04:30 AM#2
Ligature
Wait... do you mean you want this item to, when dropped, appear as something you can then give other items to?

You could trigger it so when an item of that type is dropped, it gets replaced by a unit that has an inventory... then maybe you could detect when a hero was "smart" ordered to that unit, and replace it with the item again, then re-order the hero.

Upgrades... well, look what they did for the Shadow Orb... I think you'll just need multiple item-types.

Good luck!
01-17-2004, 05:54 AM#3
SektorGaza
I don't know if there's an eaiser way, but I would do following. Basically what you are saying is that this item, when dropped, it actually becomes a unit that has slots (like backpack). You know how there's a items that build structures. they take some time to build a structure. all you need is similar structure that has slots for your use. and the time (building) is as if you actually opening the bag. Then you have to close is(make it into an item), but at the same time you need to save all the items using triggers and variables or some other way. did this make sense?
01-17-2004, 08:21 AM#4
Fladian
Quote:
Originally posted by eLvEn.bLooD.
is it possible to haf...uh for example an item that can be dropped and used as a backpack?
cuz i'm trying to make a rpg sorta thing that u can carry, for example, a cooking pot that you can drop on the ground and cook...
or small items to make forges w/

and second question... can is it possible to make a item use upgrades?


I'm not sure about those items backpacks, though I am pretty sure to just do it the same way as the Shadow Orb or the Moon Keys.
01-17-2004, 02:22 PM#5
eLvEn.bLooD.
k thanks, i thought of sumtin like the trigger thing originally...but yea...messed up bad, but i guess i'll try again =]