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
Skybreak v. 1.4
The Fortress of Fear
The Lost Children
Skybreak v 1.2
The PK Girl
The Euripides Enigma
Magnetic Moon
the virtual human
Lost Coastlines
Starship Quest
 
Latest Forum Posts
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
An' anuvver fing....
Why don't my folders stay where I put them?
Results of The 2023 IFDB Awards are in!
Setting nickname / displaying unique text based on character name
Some excellent loot
ADRIFT 5's rendering API?
Getting Adrift 4 to ignore "and"
 
Latest Reviews
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
AI
Hint System Library - Release 1

Make a donation

Cursor  ToDo: Selection only item functions

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed Medium Fri 21st Feb 2014 4 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.31.4 Thu 28th Aug 2014 5.0.33 Thu 28th Aug 2014 Log In
 
saabieFri 21st Feb 2014 02:46
The item functions of the form "ItemKey.Property", where "property" is the key of a selection-only property, causes a messagebox to popup saying "TODO - This section still has to be completed, please inform Campbell of what you were doing".
It should return 0 or 1 (not selected/selected) for an item key, or filter a group to only include items with this selected.

It would also be good to have a GroupKey.Property(false) version so you can filter a group for items that DONT have this property selected.
 
Wed 16th Jul 2014 20:49
I'm currently trying to use "Selection Only" properties in IF statements and they crash if the object does not have the property "Selected". I was expecting "Selected" to return 1 but anything else to return 0. I'm working around this by creating elaborate Tasks that use property X is selected as a restriction.

You can test this by creating a task that returns %object%.Wearable. If the object has "object is wearable" selected, the task displays "1". If the object does not have "object is wearable" selected, Adrift gives a ReplaceFunctions error and mucks up the output.

Thanks for your hard work.
 
CampbellThu 28th Aug 2014 22:15
Fixed, and implemented filtering on non-existence of selection only properties with False (or 0).
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster