HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Keeping items in slots

02-02-2003, 08:51 PM#1
Guest
How can you make it so that you cannot move an item into a different slot? For example i don't want an item to move from the 5th item slot once it is in there.
02-02-2003, 09:00 PM#2
FyreDaug
I dont think its possible because you cant refer to an item as an event being moved.
02-02-2003, 11:10 PM#3
DaKaN
I donno if this will actualy work in game, but in theory it should...

Grab Scio's enhanced editor, there is a Create item in a inventory slot. www.umsmaps.com

When the hero "aquires" an item, set the item you want to a item varible2. Then every game time second, try this trigger:

Set a item varible1 = to Item Carried By Hero
then choose the slot you want an item to stay in

Remove varible1 item from the hero
Remove varible2 item from the hero

Hero - Create Item varible2 Hero In slot the slot of the item you want to stay put

then create item for hero, item varible1 and give it to the hero
02-03-2003, 04:19 PM#4
fr0ggE
when you have an item that isn't droppable, can you still move it around in your inventory? If not then just move your item to the slot you want when you acquire it via triggers and voila you;re done