I gave locations an object property named Primary Feature which had the key Primfeat, and then in group Everywhere I checked the Short Location Description box and added the line of code below to the Short Location Description to override the normal short name.
- adrift Code: Select all
%PCase[%Player%.Location.Primfeat.Name]%
When you run the test file, you will see that the name of the location has become "Nothing", showing that while the Everywhere group is overriding the short name like I wanted it to do, I'm not getting the object name as the new location name. In the Custom Statusbar I have some bug testing code that shows that while you can get the key, adding .Name after the key won't get you the object name.
- adrift Code: Select all
Primary Feature Key is "%Player%.Location.Primfeat" and the Name is "%Player%.Location.Primfeat.Name"