Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
The PK Girl
Ghost Town
Emily
Top Hat
the virtual human
The Fortress of Fear
Trick of Treat
Give Me your Lunch Money 2010
The Spectre of Castle Coris
The Lost Children
 
Latest Forum Posts
Bump this if you're in the chat
ADRIFT v4 versus ADRIFT v5 (Larry & David only! :) )
Campbell & the future of ADRIFT
Error: Input past the end of file
IFComp 2017 Games Announced
CYOA/IF hybrids: suggestions needed
Accessibility for the blind?
Remaking Adrift 5 in Unity
How easy do you find Adrift V5?
Other tools you use?
 
Latest Reviews
Trick of Treat
The Last Expedition
The Tartarus Project
The Lost Children
The Fortress of Fear
The Warlord, The Princess & The Bulldog
Die Feuerfaust
The Spectre of Castle Coris
The Dragon Diamond
The Axe of Kolt

Make a donation

Get it from CNET Download.com!
Cursor  Item Function returns object name as 'nothing'

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed Medium Wed 10th Feb 2016 5 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.34.1 Thu 31st Mar 2016 5.0.35 Thu 31st Mar 2016 Log In
 
ElliotMWed 10th Feb 2016 08:55
I tried to get the name of an object out of a custom object property for a location and get the word 'nothing' instead of the object name.

%Player%.Location.Primfeat.Name

If I remove .Name I can successfully get the object key to display, but adding .Name after it results in the word 'nothing' instead of the object name.
 
ElliotMWed 10th Feb 2016 08:56
Discussion thread: http://forum.adrift.co/viewtopic.php?f=14&t=11396
 
saabieThu 11th Feb 2016 00:37
This problem occurs for every item function applied to an object property.
ie. LocationKey.ObjectProperty.Noun
(I hav'n't tested character or location properties)

WORKAROUND
Create a user function that has an Object reference called "object" and which contains "%object%.Name" or whatever item function you want.
Use this function whenever you want to use that function with an object returned by an object property. eg:
%ObjName[ItemKey.ObjectProperty]%
 
CampbellThu 31st Mar 2016 23:02
Fixed.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster