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
Skybreak v 1.2
Lost Coastlines
The Lost Labyrinth of Lazaitch
the virtual human
The Dwarf of Direwood Forest
Classic Adventure
The Lost Children
Starship Quest
 
Latest Forum Posts
ParserComp 2024 site is up
HAPPY BIRTDAY RoozdenScoot!
Copyright limitations?
Search Function Not Working In Windows 11
errors
Forum site error
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
An' anuvver fing....
 
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  New Property Restriction

Issue Type: Status: Priority: Date Submitted: Votes:
Enhancement Open Medium Fri 27th Jul 2012 3 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.24 Thu 17th Dec 2015 Log In
 
ElliotMFri 27th Jul 2012 17:04
Right now, you can check the value of a single property as a restriction, but I think it would be useful to also be able to compare the values of two properties, whether they belong to the same entity or different ones.

The only selection restriction I think that would be needed for programming this would be that the two properties must be the same type, ie., object list, state list, selection, etc.

PropertyX of [location/character/object][must/must not] be equal to the value of PropertyY of [location/character/object]


 
ElliotMTue 15th Dec 2015 03:57
A work around for this might be to dynamically add items to a group by the value of a property you want to compare. If both items are in the group, then it is the same as 'PropertyX of X is equal to PropertyX of Y'.
 
saabieThu 17th Dec 2015 02:08
You can also use an Expression Restriction to do this, eg:
JohnSmith.PropertyX = JohnSmith.PropertyY
 
ElliotMThu 17th Dec 2015 05:18
Even better, that'd work great as a workaround for the time being.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster