Page 1 of 1

Is this possible?

PostPosted: Tue Mar 13, 2018 11:07 am
by P/o Prune
I'm sorry the header isn't more clear, but I simply couldn't find out what to call this.

Just a thought.
Say you have a pc who gets knocked out in a random location... Let's call it location 1
He then wakes up in location 5 (easily done with a task) and there are people there telling him "We found you in "location 1" and carried you up here.

Is this doable in V.5? and if so, how would it be done?

Re: Is this possible?

PostPosted: Tue Mar 13, 2018 1:54 pm
by ElliotM
Absolutely. Create a property of type location and use it as a variable to remember where the player was last found. Then use dot operator syntax to put it in your text.

FoundInLocation Demo.taf
Best Practice Method - Use a property of type location
(15.5 KiB) Downloaded 21 times

The syntax to do that in my demo would be

adrift Code: Select all
Player.FoundInLoc.Name


  • 'Player' is the reference to the player character.
  • 'FoundInLoc' is the name of my character property of type location. The original name was FoundInLocation but the item key created was truncated to FoundInLoc so I just renamed the property to be the same text as it's key for ease of use.
  • 'Name' is the key name for the short description or location name.

Hope this helps. I did make use of the lower case converter in my demo. It is a text function that looks like this: %LCase[]%. To use it put your text inside [the brackets].

Re: Is this possible?

PostPosted: Tue Mar 13, 2018 2:46 pm
by P/o Prune
Thanks. I'll give it a go.