Starting in a room in TADS 3

Hi, I recently installed TADS 3 and want to know how to start the player in a certain room.

This my code:

bedroom: Room 'Bedroom'
"A disorganized room that's boiling hot. You should really clean this up. "
south = landing
cannotGoThatWayMsg = '''As you can't walk through walls, you can't go that way. '''
;

landing: Room 'Landing'
"Where all the rooms upstairs connect."
north = bedroom
;

I want the player to start in the bedroom but they start in the landing.

Have you defined a starting position? Glancing through the manual, this seems like the done thing:

me: Actor
    location = bedroom
;

Thanks, that worked perfectly!

There are (at least) three ways to determine where an actor starts, including the player character…
In addition to defining the location property (as advised above) you can also use a template:

igor: Person ‘igor’ ‘Igor’ @igorsRoom

or you can define the actor underneath the Room, using the + notation (all of this is discussed in the many helpful docs and manuals that are available for TADS 3). The + plus notation can be really helpful for locating objects within objects (you will almost certainly want to use this feature in your code) but there are a few subtleties to understand, which you should read up on if you want to do any kind of work with TADS3…

bedroom: Room ‘Bedroom’
"A disorganized room that’s boiling hot. You should really clean this up. "
south = landing
cannotGoThatWayMsg = ‘’‘As you can’t walk through walls, you can’t go that way. ‘’’
;

+ me: Person
;

(note that you may want to change the class of your PC to ‘Person’)