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
Ghost Town
The PK Girl
Emily
the virtual human
The Fortress of Fear
Top Hat
Give Me your Lunch Money 2010
Land of the Mountain King
H.P. Lovecraft’s Innsmouth: A Fanmade Simulated Environment
Jacaranda Jim
 
Latest Forum Posts
WornbyWho not updating
Why do you write IF
variables and location descriptions
2018 Work Schedule
Quest (maybe) shutting down
IFComp 2017 Games Announced
Happy Birthday Rotter
"Locking" runner layout
Happy New Year 2018
Adrift not opening at all?
 
Latest Reviews
Tingalan
Trick of Treat
The Last Expedition
The Tartarus Project
The Lost Children
The Fortress of Fear
The Warlord, The Princess & The Bulldog
Die Feuerfaust
The Spectre of Castle Coris
The Dragon Diamond

Make a donation

Get it from CNET Download.com!
Cursor  IF expression not resolved before actions execution

Issue Type: Status: Priority: Date Submitted: Votes:
Bug Completed Low Sun 26th Oct 2014 1 vote Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.32.1 Thu 30th Oct 2014 5.0.33 Thu 30th Oct 2014 Log In
 
ice_wantedSun 26th Oct 2014 16:22
Create a new task:
- Check "Display completion message before executing actions"
- Add the action: Move every help by player to the player's location
- Add the action: Move every worn by player to the player's location
- Add the following text : Player.WornAndHeld.Count
- Add the following text : <#IF(Player.WornAndHeld.Count=1,"object","objects")#>

Execute the task making sure the player is carrying at least one object. The first line of text will resolve to 1, while the IF expression will resolve to 0=1 (instead of 1=1).


Work around: Create 2 alternate text tabs. The first one using Player.WornAndHeld.Count=1 as a restriction and Player.WornAndHeld.Count>1 for the second. Adjust the text to fit the multiple tabs (Lots more work to add a single "s" to the text).
 
CampbellThu 30th Oct 2014 23:58
Fixed.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster