Quote
Let's see if we're on the same wavelength. My problems started from having an item in the inventory list which called for a teleportation before the list could close.
Yes. You had an item that under "use" had the teleportation event. No good because you couldn't close the screen. Crash city.
Quote
I got around that by having the hero let the item slip from his hands. He then picks it up from the map and a teleportation is called.This still has a bug lurking within.
Yes, it would still have the bug because it's the same item.
Quote
The dropped item often lands at the feet of the hero on the same movement tile. You seem to be saying that I should also drop this second item to be replaced as an NPC. This whole scene got too complicated for further attempts.
Not quite. When the Player "uses" the item, it "slips" from his hands. He closes the inventory screen, and there's another bottle that's really a passive NPC. You do not drop a second item.
Create an item, bottle #1. Under "use" have an NPC control. The passive NPC is bottle #2. Land it at &&Actual;_X and &&Actual;_Y.
The Player closes the inventory screen and bottle #2 is at his feet.
The Player makes contact with bottle #2 NPC.
In the bottle #2 NPC, under Player Contact, have your sequence of events:
Dialogue: Rats, I dropped it. Humm, should I drink this or not?
Dialogue answer #1: Yes.
Dialogue answer #2: No.
If dialogue answer is #1, Delete the bottle #2 NPC by NPC control, then teleport.
If dialogue answer is #2, Delete the bottle #2 NPC by NPC control, then item wizard add item bottle #1 into the Player's inventory.
I did try this and it did work. I got as far as the dialogue, but not the teleport.
------------------
-- Debra
Danillitphil Productions