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
Pete's Punkin Junkinator
InsideADRIFT #41
All Through the Night
Three Monkeys One Cage
Skybreak v. 1.4
Trick or Treat
The Fortress of Fear
Bug Hunt On Menelaus
Museum Heist
The Day Program
 
Latest Forum Posts
Getting Adrift 4 to ignore "and"
Happy birthday, Rotter
CYS New Year's Prompt contest
Text Adventure Literacy Jam 2026
Merry Christmas!
Short story contest for the forum?
Constellaris Court
Happy birthday reelyor
New Game Uploaded: THINGS THAT GO BUMP IN THE NIGHT
Dominion of Darkness - interactive story of the Dark Lord/Lady
 
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