News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

Show Object/String Selection

Started by dcsobral, Feb 08, 2024, 01:07 AM

Previous topic - Next topic

dcsobralTopic starter

I wanted to make a mod that would display a key next to the name of people you have the key for when selecting a person to visit. That selection screen is done by "Show Object Selection" using DisplayName as property which prevents me from adding extra information to any entry. I looked for something more flexible, and though there's "Show String Selection" I'd then I'd have to figure out what was the object associated with the selected entry, and there's always the theoretical, if unlikely, chance of two entries having the same DisplayName.

What I was looking for was something that would either take two lists with the same size, one of objects and one of strings, display the strings and return the corresponding object. There doesn't seem to be anything like that.

Are there other alternatives I haven't considered?

barteke22

Use the Index variant (right-click) and Get Object From List.