I’m wondering if I can have an action (turning on a computer) send the player to a room. Right now I’ve made rooms for “Browser” and “Settings Menu” but haven’t connected them to other rooms.
Also, hello; I’m new here.
I’m wondering if I can have an action (turning on a computer) send the player to a room. Right now I’ve made rooms for “Browser” and “Settings Menu” but haven’t connected them to other rooms.
Also, hello; I’m new here.
Hi! Welcome to the forum! Have you tried “After” effects?
After turning on ComputerA:
Move the player to RoomB.
Or:
Report turning on a computer (called X):
If X is computerA:
Move the player to RoomB;
Else:
Continue the action.
At least, I think that’s how it goes.
If you don’t understand the second one, feel free to just stick with the first one.
I assume you’ve created a new action for turning on the computer, but if it’s a device, the verb you’d want to use is switching it on. I think. I’m not the most knowledgeable of Inform syntax, but I’ve done a few things.
Replace ComputerA with whatever the proper name of the computer is, and RoomB with the destination.
Be sure to check the built-in documentation; If you’re using something like Borogove, check around on the I7 website for the same documentation as comes with the program.
Hope this helps!
Something like this?
"Just Browsing"
Lab is a room.
Browser is a room.
A computer is a device in the Lab.
After switching on the computer:
say "You feel yourself entering the system....";
now the player is in the Browser.
I’m not good at deciding when to use the various rules so maybe the “say” should be in a report rule.
That was quick! I guess this is a good method for “moving” in a metaphorical sense: between programs, states of mind, etc. At some point I’m going to make a Doctor Who fan game; this will certainly help.