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
Museum Heist
Ectocomp 2009
Skybreak v. 1.4
Marika the Offering
The Fortress of Fear
The Cellar
Jacaranda Jim
Pete's Punkin Junkinator
Bug Hunt On Menelaus
Revenge of the Space Pirates
 
Latest Forum Posts
Many alternative descriptions per Location or Object
Combi-Lib - an improved standard library
Bug with keys
Happy birthday ralphmerridew
"Player" vs. [The Player Character]
Dominion of Darkness - interactive story of the Dark Lord/Lady
ADRIFT Runner on US keyboard
Re-close a door without the player doing it
Conversations
Another Car problem
 
Latest Reviews
DRAM 321 Final
Goldilocks is a FOX!
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt

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