Replace Object with another object.

Forretress
I'm new to this, but I can't find this addressed in the forums. When the player types "step on tile," what should happen is a door stops being on fire and allows passage to another room. I thought I could replace "door on fire" with a normal "front door" and have the direction unlocked, but I can't seem to accomplish this. I don't want the player to still see the "door on fire," because it wouldn't be on fire anymore.

I have the object "tile," which is in another room, a "door on fire," and a "front door."

Any help is appreciated.

Tomsa
First, put 'door on fire' and 'front door' in the same room.

Make 'front door' unavailable (under the advanced tab of the object).

Create the verb 'step on' for the object 'tile', or make the command 'step on #object#, then run script as follows:

Print message "As you step on the tile, the door is no longer on fire, granting you passage further into the dungeon...", make 'door on fire' unavailable, make 'front door' available (accessible) and unlock the exit (remember, from "dungeon room 1 to direction south", not from "dungeon room 1 to dungeon room 2", otherwise it won't work).

Hope this helps.

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums