Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Change description on subsequent vistis?

$
0
0
Sugarcube 2.11.0

In Quest (another text adventure creator) there is a script called FirstTime, which allows you to have an initial description which changes should the player re-visit the location.

I'm finding now that instances of this are creeping in to my game. So far I've got round it with simple description that make sense regardless of how many times you visit, but it's getting now that the description needs to change on subsequent visits. Not necessarily for functionality, but more because it doesn't make sense to have it saying the same thing if the player has already been there.

I'm sure this can be done by checking for varibles and such, but I think an easier way is to have two passages for the same location, i.e 'forest1' and 'forest2', and then in the passages beyond forest1 that link back to the forest, send the player to forest2 instead. This will just have any code from 'forest1' pasted across, with just the description changed to make more sense.

I'm sure this is a rather amateurish workaround, but I can't think of an easier way.

Viewing all articles
Browse latest Browse all 1844

Trending Articles