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
Top Hat
Skybreak! v. 1.1
The Axe of Kolt
The Lost Children
The PK Girl
Starship Quest
Revenge of the Space Pirates
Magnetic Moon
Museum Heist
Alien Diver v13
 
Latest Forum Posts
Eamon Revived
Opinions please!
Suggestion re. Adrift main-site and Forum breakdown
Can you force library updates?
Avoiding GET ALL for hidden dynamic objects
So....the site?
[5.0.35.3]Exception when importing a library
Crazy idea?
Error when deleting exit from location - HELP PLEASE!
take / get / pull / untie
 
Latest Reviews
Alien Diver v13
Museum Heist
The Spectre of Castle Coris
The Axe of Kolt
Die Feuerfaust
Penrhyn - Burning Skies #GameJam420
Dreamspun #GameJam420
Tingalan
Skybreak! v. 1.1
The Lost Labyrinth of Lazaitch

Make a donation

Get it from CNET Download.com!
Cursor  "There is no route to the east. Only north and east"

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Open High Mon 6th Feb 2017 5 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.35.3 Thu 16th Mar 2017 Log In
 
saabieMon 6th Feb 2017 02:21
If you try to move in an invalid direction you get the messge "There is no route to the east. Only north and east".
This contradicts itself if east has a restriction that blocks movement.
This message uses %Player%.Location.Exits.List, but that lists ALL the exits, when we only want to list the exits that are not blocked by restrictions.
The easiest way to fix this would be to add a filter option to the "Exits" property that eliminates any exits that are currently blocked by restrictions.
%Player%.Location.Exits(open).List would then only list the exits that are valid routes at the moment.
 
DenkSat 11th Feb 2017 23:21
The "obsolete" function %ListExits[Player]% gives the correct exits unlike %Player%.Location.Exits.List. I mention this as it gives a workaround until the bug is fixed.

EDIT: Note that before replacing the old expression with the new expression you need to add quotation marks, otherwise the expression will be stripped for Spaces and you can get responses like: There is no route to the north, only eastandsouth.

So to be precise:
replace
%Player%.Location.Exits.List
with
"%ListExits[%Player%]%" (remember the quotation marks!)
 
saabieThu 16th Mar 2017 05:30
Updated wiki to say that %Player%.Location.Exits.List will list ALL of the exits from a location, and %ListExits[Player]% will only list those which are not being blocked by a restriction.

The restriction in "Player Movement" still needs to be changed to use %ListExits[%Player%]%
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster