Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GOTO doesn't seem to work.

A topic by Polyducks created Sep 07, 2019 Views: 134 Replies: 7
Viewing posts 1 to 5
Submitted

I'm trying to send my player to a room. Here's a simplified example:

: match "west_"{
        : goto "cottage" ;
}

The location 'cottage' exists. What's going wrong?

(+1)

That will work. You'll need to do a REDESCRIBE if you want the player to see the change.

Submitted

Haha yes, got it thanks :p

Submitted

Have you got a space between "west" and the underscore?

Submitted

Nope! Solved it. See other posts in thread :)

Submitted

Aha! It's a silent teleport. It does work, I just need to :redescribe when I arrive. Nevermind!

(+1)

Yes, it's useful having it work silently, because you can do some clever, sneaky things with it as we discussed in some other threads.

Submitted

Yesss I saw. Like temporarily dropping the player down a chasm on a bungee cord haha