| 09-04-2003, 10:21 PM | #1 |
I've figured out a way to make stackable potions :ggani: Heres the info: You can pickup up to 5 potions of a type. You cannot drop potions once you pick em up (with a custom inventory system, this would not be much of a drawback) With a bit more advanced triggering and some variables I'm sure you could have up to 30 potions (in 6 stacks of 5) in your inventory, and have them be droppable too. When you drink a potion your number of potions decreases. Its done with a series of 6 items (1 for a potion on ground, and 1 item for 1,2,3,4, and 5 charges) When you pickup a potion on the ground it replaces it with a potion with 1 charge. When you pickup another potion it will detect if you have one potion in your inventory already, if you do it will stack 1 more potion. This continues until you have stacked 5 potions. At that point the trigger will be disabled and you will not be able to pickup anymore potions until you use one. I tried to get them to work in shops but it had no success. For some reason even with a Unit sells item (and I tried loses item too) it would not turn on a trigger required for picking up more potions. (Perhaps I should try using variables instead of turning off triggers) Anyway, heres the map :ggani: Iron_Ian |
| 09-04-2003, 10:39 PM | #2 |
So you solved your problem then? :ggani: |
| 09-04-2003, 10:59 PM | #3 |
Actually I just did this for fun, kinda as a little break from TTOA :ggani: |
