ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Alternate character prefix

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Alternate character prefix

Postby APL » Sun Apr 30, 2017 8:44 pm

I am creating a game that has switchable players characters. However when a player character is switched where their sibling is in the same location I would like the prefix 'Your sister Patricia is here' or 'Your brother Ben is here' to be displayed rather than just the character's name.

How can I do this?

Many thanks
APL
 
Posts: 2
Joined: Sun Apr 30, 2017 8:30 pm

Re: Alternate character prefix

Postby ralphmerridew » Sun Apr 30, 2017 10:03 pm

Look up text substitutions. Put a condition that changes the text depending on who the PC is.
Bloodhounds can make you laugh and cuss in the same breath. They are endearing, faithful, and can sling drool ten feet in any direction. -- Virginia Lanier
User avatar
ralphmerridew
 
Posts: 2501
Joined: Fri Dec 13, 2002 11:56 pm
Location: Missouri

Re: Alternate character prefix

Postby APL » Fri May 05, 2017 2:54 pm

Thanks Ralph. That does the trick nicely. :)
APL
 
Posts: 2
Joined: Sun Apr 30, 2017 8:30 pm


Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 6 guests